From 93926ed8a09da360572e156e56f7b5a7c63ec954 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 4 Sep 2015 01:16:49 +0200 Subject: [PATCH] Fixed a reference error in NotificationHandler --- .../user/notification/UserNotificationHandler.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php index da8d676891..c2607100e0 100644 --- a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php @@ -106,7 +106,7 @@ class UserNotificationHandler extends SingletonFactory { // set object data $event->setObject(new UserNotification(null, array()), $notificationObject, $userProfile, $additionalData); - EventHandler::getInstance()->fireAction($this, 'fireEvent', array( + $parameters = array( 'eventName' => $eventName, 'objectType' => $objectType, 'notificationObject' => $notificationObject, @@ -116,7 +116,8 @@ class UserNotificationHandler extends SingletonFactory { 'objectTypeObject' => $objectTypeObject, 'userProfile' => $userProfile, 'event' => $event - )); + ); + EventHandler::getInstance()->fireAction($this, 'fireEvent', $parameters); // find existing notifications $conditions = new PreparedStatementConditionBuilder(); -- 2.20.1