Fixed marking notifications as read
authorAlexander Ebert <ebert@woltlab.com>
Wed, 10 Dec 2014 20:25:36 +0000 (21:25 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 10 Dec 2014 20:25:36 +0000 (21:25 +0100)
wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php

index 300b30bd1a1e2a45c45f31abd53ed4a4eeec800e..e5d2544ce1918cdd0e37c2a13780308102f68327 100644 (file)
@@ -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)
                );
        }