From: Chuck Hagenbuch Date: Fri, 22 Oct 2010 01:55:18 +0000 (-0400) Subject: I've got some arrays showing up here causing problems. Not sure this is the right... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f9c7846119e7ef33567d9abeb1eb5216480f569b;p=horde.git I've got some arrays showing up here causing problems. Not sure this is the right fix, but it seems to work. --- diff --git a/framework/Notification/lib/Horde/Notification/Handler.php b/framework/Notification/lib/Horde/Notification/Handler.php index 4901cad9c..cc7153e8a 100644 --- a/framework/Notification/lib/Horde/Notification/Handler.php +++ b/framework/Notification/lib/Horde/Notification/Handler.php @@ -300,7 +300,8 @@ class Horde_Notification_Handler $name = $instance->getName(); foreach (array_keys($unattached) as $val) { - if ($instance->handles($unattached[$val]->type)) { + if ($unattached[$val] instanceof Horde_Notification_Event + && $instance->handles($unattached[$val]->type)) { $this->_storage->push($name, $unattached[$val]); unset($unattached[$val]); }