phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.accounts.inc.php, 1.10.4.12


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.accounts.inc.php, 1.10.4.12
Date: Thu, 24 Jun 2004 15:30:39 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.accounts.inc.php

date: 2004/06/24 13:30:39;  author: ceb;  state: Exp;  lines: +8 -3

Log Message:
fix for bug #9443
=====================================================================
Index: phpgwapi/inc/class.accounts.inc.php
diff -u phpgwapi/inc/class.accounts.inc.php:1.10.4.11 
phpgwapi/inc/class.accounts.inc.php:1.10.4.12
--- phpgwapi/inc/class.accounts.inc.php:1.10.4.11       Tue Feb 10 13:51:17 2004
+++ phpgwapi/inc/class.accounts.inc.php Thu Jun 24 13:30:39 2004
@@ -347,7 +347,12 @@
                                if($type == 'g')
                                {
                                        $add_users['groups'][] = $app_users[$i];
-                                       $members[] = 
$GLOBALS['phpgw']->acl->get_ids_for_location($app_users[$i],1,'phpgw_group');
+                                       $memb = 
$GLOBALS['phpgw']->acl->get_ids_for_location($app_users[$i],1,'phpgw_group');
+
+                                       if(is_array($memb))
+                                       {
+                                               $members[] = $memb;
+                                       }
                                }
                                else
                                {
@@ -726,4 +731,4 @@
                {
                }
        }
-?>
\ No newline at end of file
+?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]