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