diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index 3d68294034..980fef49a5 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -1090,7 +1090,7 @@ class accounts { $instance = self::getInstance(); $account['members-active'] = array(); - foreach($account['members'] as $id => $lid) + foreach((array)$account['members'] as $id => $lid) { if ($instance->is_active($id)) $account['members-active'][$id] = $lid; }