From 12581d8c8fc89e4f2b80ca0e6847d9e82de6d946 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 5 Nov 2009 07:00:47 +0100 Subject: [PATCH] Do not dereference otherwise the fix does not help :) --- framework/Notification/lib/Horde/Notification/Handler/Base.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 + ); } } } -- 2.11.0