aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 5e76d653eb..74fc1b9bda 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -27,6 +27,8 @@ $user->setup('viewforum');
// Mark notifications read
if (($mark_notification = $request->variable('mark_notification', 0)))
{
+ $phpbb_notifications = $phpbb_container->get('notification_manager');
+
$notification = $phpbb_notifications->load_notifications(array(
'notification_id' => $mark_notification
));