mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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
f07036567f
commit
bfb48bc52f
@ -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