Cast to array (Bug #9473).
authorJan Schneider <jan@horde.org>
Wed, 29 Dec 2010 15:29:48 +0000 (16:29 +0100)
committerJan Schneider <jan@horde.org>
Wed, 29 Dec 2010 15:29:48 +0000 (16:29 +0100)
imp/lib/Prefs/Identity.php

index ed05c56..3e81c8c 100644 (file)
@@ -227,7 +227,7 @@ class Imp_Prefs_Identity extends Horde_Core_Prefs_Identity
     {
         if (!isset($this->_cached['aliases'][$ident])) {
             $this->_cached['aliases'][$ident] = @array_merge(
-                $this->getValue('alias_addr', $ident),
+                (array)$this->getValue('alias_addr', $ident),
                 array($this->getValue('replyto_addr', $ident))
             );
         }