From bfb48bc52fd44e0b7d10f6f3148f689899c0a6f6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 15 Jun 2007 07:56:43 +0000 Subject: [PATCH] fixed sql account backend to return array() instead of false for groups without members (can be created by deleting all users, which are members) --- phpgwapi/inc/class.accounts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 7ec53f7402..6dd3723724 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -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)