fix warning when there are no userdefined profiles

This commit is contained in:
Klaus Leithoff 2011-07-29 09:40:57 +00:00
parent 30f64cad47
commit f911749268

View File

@ -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) {