From 3fdd879d615d5f593aa5e092490e48d227210048 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 9 Jun 2013 23:44:50 +0200 Subject: [PATCH] Fixed notification handler issue --- .../system/user/notification/UserNotificationHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6756049d60..ea1c289748 100644 --- a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php @@ -132,7 +132,7 @@ class UserNotificationHandler extends SingletonFactory { 'packageID' => $objectTypeObject->packageID, 'eventID' => $event->eventID, 'objectID' => $notificationObject->getObjectID(), - 'authorID' => $event->getAuthorID(), + 'authorID' => ($event->getAuthorID() ?: null), 'time' => TIME_NOW, 'eventHash' => $event->getEventHash(), 'additionalData' => serialize($additionalData) -- 2.20.1