aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_remind.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-04 20:41:04 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-02-03 20:50:40 +0100
commitf6e06da4c68917dafb057bf7fe19f884a3e148c2 (patch)
treee68e2c80b8588e066069a574ea7d0bda887c6ddd /phpBB/includes/ucp/ucp_remind.php
parent284aa8c496d658c196a0dfa3c90657415ee4c2ee (diff)
downloadforums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.gz
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.bz2
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.tar.xz
forums-f6e06da4c68917dafb057bf7fe19f884a3e148c2.zip
[ticket/13455] Update calls to `request_var()`
PHPBB3-13455
Diffstat (limited to 'phpBB/includes/ucp/ucp_remind.php')
-rw-r--r--phpBB/includes/ucp/ucp_remind.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_remind.php b/phpBB/includes/ucp/ucp_remind.php
index 8c96955b14..2342aa2137 100644
--- a/phpBB/includes/ucp/ucp_remind.php
+++ b/phpBB/includes/ucp/ucp_remind.php
@@ -29,7 +29,7 @@ class ucp_remind
function main($id, $mode)
{
- global $config, $phpbb_root_path, $phpEx;
+ global $config, $phpbb_root_path, $phpEx, $request;
global $db, $user, $auth, $template, $phpbb_container;
if (!$config['allow_password_reset'])
@@ -37,8 +37,8 @@ class ucp_remind
trigger_error($user->lang('UCP_PASSWORD_RESET_DISABLED', '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'));
}
- $username = request_var('username', '', true);
- $email = strtolower(request_var('email', ''));
+ $username = $request->variable('username', '', true);
+ $email = strtolower($request->variable('email', ''));
$submit = (isset($_POST['submit'])) ? true : false;
if ($submit)