1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/11103] Use $request->variable rather than request_var

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-12-08 13:56:39 -06:00
parent 6b7443adac
commit 2227ceab8b
2 changed files with 6 additions and 6 deletions

View File

@@ -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));
}