From eb6d8504c177e61ddf4b6092f9b41adc4db4248a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Mar 2006 18:25:24 +0000 Subject: [PATCH] fix for bug [ 1417178 ] Group membership after edit --> negative indexes to arrays are treated different if represened as string or integer --- admin/inc/class.boaccounts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.boaccounts.inc.php b/admin/inc/class.boaccounts.inc.php index 483aaece0a..9da037b5e9 100755 --- a/admin/inc/class.boaccounts.inc.php +++ b/admin/inc/class.boaccounts.inc.php @@ -808,7 +808,7 @@ /* print "$key,". $groupData['account_id'] ."
";*/ /* print "$key,". $_userData['account_groups'][1] ."
"; */ - if ($newGroups[$groupData['account_id']]) + if ($newGroups[(string) $groupData['account_id']]) { $acl->add_repository('phpgw_group',$groupData['account_id'],$_userData['account_id'],1); }