forked from extern/egroupware
"fixed sql account backend to return array() instead of false for groups without members (can be created by deleting all users, which are members)"
This commit is contained in:
parent
d80b9bd377
commit
dcf1a53a74
@ -273,7 +273,7 @@ class accounts_backend
|
|||||||
{
|
{
|
||||||
if (!($uids = $GLOBALS['egw']->acl->get_ids_for_location($account_id, 1, 'phpgw_group')))
|
if (!($uids = $GLOBALS['egw']->acl->get_ids_for_location($account_id, 1, 'phpgw_group')))
|
||||||
{
|
{
|
||||||
return False;
|
return array();
|
||||||
}
|
}
|
||||||
$members = array();
|
$members = array();
|
||||||
foreach ($uids as $uid)
|
foreach ($uids as $uid)
|
||||||
|
Loading…
Reference in New Issue
Block a user