[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:
Cesar G 2014-11-11 16:32:04 -08:00
parent 3108d0b060
commit ec220d6494

View file

@ -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);