aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields/type/type_date.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/profilefields/type/type_date.php')
-rw-r--r--phpBB/phpbb/profilefields/type/type_date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_date.php b/phpBB/phpbb/profilefields/type/type_date.php
index 63a0c79a3d..5a1a6dbd5c 100644
--- a/phpBB/phpbb/profilefields/type/type_date.php
+++ b/phpBB/phpbb/profilefields/type/type_date.php
@@ -72,7 +72,7 @@ class type_date extends type_base
'lang_options' => $field_data['lang_options'],
);
- $always_now = request_var('always_now', -1);
+ $always_now = $this->request->variable('always_now', -1);
if ($always_now == -1)
{
$s_checked = ($field_data['field_default_value'] == 'now') ? true : false;