From: Alexander Ebert Date: Thu, 3 Sep 2015 23:16:49 +0000 (+0200) Subject: Fixed a reference error in NotificationHandler X-Git-Tag: 2.1.7~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93926ed8a09da360572e156e56f7b5a7c63ec954;p=GitHub%2FWoltLab%2FWCF.git Fixed a reference error in NotificationHandler --- 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();