removed not working cast of Horde_Mail_Rfc822_List to array

This commit is contained in:
Ralf Becker 2015-04-22 14:26:52 +00:00
parent e6f63cb8cf
commit 93b8d489c2

View File

@ -178,7 +178,7 @@ class egw_mailer extends Horde_Mime_Mail
if ($return_array) if ($return_array)
{ {
$addresses = array(); $addresses = array();
foreach((array)$this->$type as $addr) foreach($this->$type as $addr)
{ {
$addresses[] = (string)$addr; $addresses[] = (string)$addr;
} }