mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-14 15:28:52 +00:00
[ticket/13209] Gather language field values for boolean CPF's in all steps.
The user can move back and forth between all three steps and as such the lang field data should be expected in all steps. PHPBB3-13209
This commit is contained in:
parent
3108d0b060
commit
ec220d6494
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class type_bool extends type_base
|
|||
}
|
||||
}
|
||||
|
||||
if ($step == 3 && ($field_data[$key] || $action != 'edit') && $key == 'l_lang_options')
|
||||
if ($key == 'l_lang_options' && $this->request->is_set($key))
|
||||
{
|
||||
$field_data[$key] = $this->request->variable($key, array(0 => array('')), true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue