diff --git a/felamimail/inc/class.ajaxfelamimail.inc.php b/felamimail/inc/class.ajaxfelamimail.inc.php index 8f2bc804a0..a3eebc53e7 100644 --- a/felamimail/inc/class.ajaxfelamimail.inc.php +++ b/felamimail/inc/class.ajaxfelamimail.inc.php @@ -1024,7 +1024,7 @@ class ajaxfelamimail $boPreferences = CreateObject('felamimail.bopreferences'); $preferences =& $boPreferences->getPreferences(); $allAccountData = $boPreferences->getAllAccountData($preferences); - foreach ($allAccountData as $tmpkey => $accountData) + foreach ((array)$allAccountData as $tmpkey => $accountData) { $identity =& $accountData['identity']; foreach($identity as $key => $value) {