Fix parameter in `updateTriggerCount` event
authorFabii547 <Fabii547@users.noreply.github.com>
Sun, 23 Feb 2020 12:39:28 +0000 (13:39 +0100)
committerFabii547 <Fabii547@users.noreply.github.com>
Sun, 23 Feb 2020 12:39:28 +0000 (13:39 +0100)
wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php

index d9ffcbe88fc5f91fab2575d765c7eb29ea7af682..4672efdfa0dccaf4ff79a5c801c4edd9a3e3e8ee 100644 (file)
@@ -186,7 +186,7 @@ class UserNotificationHandler extends SingletonFactory {
                                
                                $triggerCountParameters = $parameters;
                                $triggerCountParameters['updateTriggerCount'] = $notificationIDs;
-                               EventHandler::getInstance()->fireAction($this, 'updateTriggerCount', $parameters);
+                               EventHandler::getInstance()->fireAction($this, 'updateTriggerCount', $triggerCountParameters);
                                unset($triggerCountParameters);
                        }
                }