diff options
Diffstat (limited to 'phpBB/index.php')
| -rw-r--r-- | phpBB/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 94b2b17084..5e76d653eb 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -25,7 +25,7 @@ $auth->acl($user->data); $user->setup('viewforum'); // Mark notifications read -if (($mark_notification = request_var('mark_notification', 0))) +if (($mark_notification = $request->variable('mark_notification', 0))) { $notification = $phpbb_notifications->load_notifications(array( 'notification_id' => $mark_notification @@ -37,7 +37,7 @@ if (($mark_notification = request_var('mark_notification', 0))) $notification->mark_read(); - if (($redirect = request_var('redirect', ''))) + if (($redirect = $request->variable('redirect', ''))) { redirect(append_sid($phpbb_root_path . $redirect)); } |
