suppress warning on searching for active members

This commit is contained in:
Klaus Leithoff 2013-07-23 10:59:56 +00:00
parent e92e3694ee
commit c4caefc9e9

View File

@ -1090,7 +1090,7 @@ class accounts
{ {
$instance = self::getInstance(); $instance = self::getInstance();
$account['members-active'] = array(); $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; if ($instance->is_active($id)) $account['members-active'][$id] = $lid;
} }