From: Gunnar Wrobel
Date: Thu, 5 Nov 2009 06:00:47 +0000 (+0100) Subject: Do not dereference otherwise the fix does not help :) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=12581d8c8fc89e4f2b80ca0e6847d9e82de6d946;p=horde.git Do not dereference otherwise the fix does not help :) --- diff --git a/framework/Notification/lib/Horde/Notification/Handler/Base.php b/framework/Notification/lib/Horde/Notification/Handler/Base.php index 83e7ed686..a905ad1d1 100644 --- a/framework/Notification/lib/Horde/Notification/Handler/Base.php +++ b/framework/Notification/lib/Horde/Notification/Handler/Base.php @@ -219,8 +219,12 @@ implements Horde_Notification_Handler_Interface { foreach ($options['listeners'] as $listener) { if (isset($this->_listeners[$listener])) { - $stack = $this->_storage->get($this->_listeners[$listener]->getName()); - $this->_listeners[$listener]->notify($stack, $options); + $this->_listeners[$listener]->notify( + $this->_storage->get( + $this->_listeners[$listener]->getName() + ), + $options + ); } } }