removed not working cast of Horde_Mail_Rfc822_List to array

This commit is contained in:
Ralf Becker 2015-04-22 14:26:20 +00:00
parent 0397a901b9
commit 9cd7906852

View File

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