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:
Ralf Becker 2007-06-15 07:56:43 +00:00
parent f07036567f
commit bfb48bc52f

View File

@ -273,7 +273,7 @@ class accounts_backend
{
if (!($uids = $GLOBALS['egw']->acl->get_ids_for_location($account_id, 1, 'phpgw_group')))
{
return False;
return array();
}
$members = array();
foreach ($uids as $uid)