mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
fix for BUG [ 969767 ] Projects: Administrator list and
BUG [ 969759 ] Edit manager list - Duplicate Names
This commit is contained in:
parent
c2f7c4b73b
commit
0e953fdeeb
@ -416,16 +416,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
$i = count($add_users['users']);
|
||||
if(is_array($add_users['groups']))
|
||||
{
|
||||
$add_users['groups'] = array_unique($add_users['groups']);
|
||||
sort($add_users['groups']);
|
||||
}
|
||||
|
||||
#$i = count($add_users['users']);
|
||||
|
||||
while(is_array($members) && list(,$mem) = each($members))
|
||||
{
|
||||
for($j=0;$j<count($mem);$j++)
|
||||
{
|
||||
$add_users['users'][$i] = $mem[$j];
|
||||
$i++;
|
||||
$add_users['users'][] = $mem[$j];
|
||||
}
|
||||
}
|
||||
if(is_array($add_users['users']))
|
||||
{
|
||||
$add_users['users'] = array_unique($add_users['users']);
|
||||
sort($add_users['users']);
|
||||
}
|
||||
return $add_users;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user