From 850f6ca331cd56617787ec53f616fc72ef624fdd Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 23 Sep 2015 10:51:32 +0930 Subject: [PATCH] Update local copy of notification when marking as read --- .../src/Core/Notifications/Commands/ReadNotificationHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/src/Core/Notifications/Commands/ReadNotificationHandler.php b/framework/core/src/Core/Notifications/Commands/ReadNotificationHandler.php index 1a84131aa..fe2ac8698 100644 --- a/framework/core/src/Core/Notifications/Commands/ReadNotificationHandler.php +++ b/framework/core/src/Core/Notifications/Commands/ReadNotificationHandler.php @@ -38,6 +38,8 @@ class ReadNotificationHandler ]) ->update(['is_read' => true]); + $notification->is_read = true; + return $notification; } }