From 93b8d489c2aac7dbd517cab05fc0c1529034cac5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 22 Apr 2015 14:26:52 +0000 Subject: [PATCH] removed not working cast of Horde_Mail_Rfc822_List to array --- phpgwapi/inc/class.egw_mailer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_mailer.inc.php b/phpgwapi/inc/class.egw_mailer.inc.php index aa790052f5..3d37dbb903 100644 --- a/phpgwapi/inc/class.egw_mailer.inc.php +++ b/phpgwapi/inc/class.egw_mailer.inc.php @@ -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; }