From 249f3c8885d461ae3981dfd7b62093c2175175e3 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Thu, 13 Dec 2012 19:19:40 -0600 Subject: [ticket/11103] Instantiate $phpbb_notifications as needed https://github.com/phpbb/phpbb3/pull/992#discussion_r2413976 PHPBB3-11103 --- phpBB/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/index.php') 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 )); -- cgit v1.2.1