diff options
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 0ac8034d7f..af0441f5e3 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -31,7 +31,7 @@ if ($ext = $request->variable('ext', '')) if (!$phpbb_extension_manager->available($ext)) { send_status_line(404, 'Not Found'); - trigger_error($user->lang('EXTENSION_DOES_NOT_EXIST', $ext)); + trigger_error($user->lang('EXTENSION_DOES_NOT_EXIST', $ext)); } else if (!$phpbb_extension_manager->enabled($ext)) { @@ -56,6 +56,13 @@ if ($ext = $request->variable('ext', '')) exit_handler(); } +// Mark notifications read +$mark_notifications = request_var('mark_notification', array(0)); +if (!empty($mark_notifications)) +{ + $phpbb_notifications->mark_notifications_read_by_id($mark_notifications); +} + include($phpbb_root_path . 'includes/functions_display.' . $phpEx); $user->add_lang('viewforum'); |