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:
commit
b72df1f384
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user