aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-12-08 13:56:39 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2012-12-08 13:56:39 -0600
commit2227ceab8bf0cccf95598f4e2a59cc7134adf7f0 (patch)
tree4b96041071ffcdba6d91aa6723dd8ef89646d748 /phpBB/index.php
parent6b7443adacfa8e79304e4c91ca02000d25259633 (diff)
downloadforums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar
forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.gz
forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.bz2
forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.tar.xz
forums-2227ceab8bf0cccf95598f4e2a59cc7134adf7f0.zip
[ticket/11103] Use $request->variable rather than request_var
PHPBB3-11103
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php4
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));
}