From ec220d64946e9fc50df6645087a38c8852625af0 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Tue, 11 Nov 2014 16:32:04 -0800 Subject: [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 --- phpBB/phpbb/profilefields/type/type_bool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/phpbb/profilefields/type/type_bool.php b/phpBB/phpbb/profilefields/type/type_bool.php index 0582722833..75934e3be7 100644 --- a/phpBB/phpbb/profilefields/type/type_bool.php +++ b/phpBB/phpbb/profilefields/type/type_bool.php @@ -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); -- cgit v1.2.1