From: Alexander Ebert Date: Wed, 10 Dec 2014 20:25:36 +0000 (+0100) Subject: Fixed marking notifications as read X-Git-Tag: 2.1.0_Beta_1~76^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de70b07eff2fe1ddbbb17ed6e5d0a3c2698118a3;p=GitHub%2FWoltLab%2FWCF.git Fixed marking notifications as read --- diff --git a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php index 300b30bd1a..e5d2544ce1 100644 --- a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php +++ b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php @@ -191,7 +191,7 @@ class UserNotificationAction extends AbstractDatabaseObjectAction { UserNotificationHandler::getInstance()->markAsConfirmedByID($this->notificationEditor->notificationID); return array( - 'notificationID' => $this->notificationEditor->notificationID, + 'markAsRead' => $this->notificationEditor->notificationID, 'totalCount' => UserNotificationHandler::getInstance()->getNotificationCount(true) ); }