forked from extern/egroupware
fix for bug [ 1417178 ] Group membership after edit
--> negative indexes to arrays are treated different if represened as string or integer
This commit is contained in:
parent
a5a87c4fe8
commit
eb6d8504c1
@ -808,7 +808,7 @@
|
||||
/* print "$key,". $groupData['account_id'] ."<br>";*/
|
||||
/* print "$key,". $_userData['account_groups'][1] ."<br>"; */
|
||||
|
||||
if ($newGroups[$groupData['account_id']])
|
||||
if ($newGroups[(string) $groupData['account_id']])
|
||||
{
|
||||
$acl->add_repository('phpgw_group',$groupData['account_id'],$_userData['account_id'],1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user