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; }