1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 01:20:40 +01:00

Merge pull request #4645 from rmcgirr83/ticket/15010

[ticket/15010] Fix incorrect use of request
This commit is contained in:
Marc Alexander 2017-01-15 00:13:46 +01:00
commit b72df1f384
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -72,7 +72,7 @@ class type_date extends type_base
'lang_options' => $field_data['lang_options'],
);
$always_now = $request->variable('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;