mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix for missing groups in acl-account-list for write / cal-read / booking
This commit is contained in:
parent
77e38999c4
commit
ba9c778c68
@ -152,17 +152,14 @@ class ui_acl
|
||||
}
|
||||
if (is_null($groupList) && $users_only==false)
|
||||
{
|
||||
$groupList = array();
|
||||
if ($users_only==false)
|
||||
{
|
||||
$groupList = $GLOBALS['egw']->accounts->search(array(
|
||||
'type' => 'groups',
|
||||
'order' => 'account_lid',
|
||||
));
|
||||
}
|
||||
$groupList = $GLOBALS['egw']->accounts->search(array(
|
||||
'type' => 'groups',
|
||||
'order' => 'account_lid',
|
||||
));
|
||||
uasort($groupList,array($this,"sortByLid"));
|
||||
foreach ($groupList as $k => $val) $resultList[$k] = $val;
|
||||
}
|
||||
if (count($groupList)>0 && $users_only==false) foreach ($groupList as $k => $val) $resultList[$k] = $val;
|
||||
|
||||
foreach ($resultList as $num => $account)
|
||||
{
|
||||
$selectlist .= '<option value="' . $account['account_id'] . '"';
|
||||
|
Loading…
Reference in New Issue
Block a user