From de70b07eff2fe1ddbbb17ed6e5d0a3c2698118a3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 10 Dec 2014 21:25:36 +0100 Subject: [PATCH] Fixed marking notifications as read --- .../lib/data/user/notification/UserNotificationAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); } -- 2.20.1