diff options
author | Cesar G <prototech91@gmail.com> | 2014-11-11 16:32:04 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-11-11 16:32:04 -0800 |
commit | ec220d64946e9fc50df6645087a38c8852625af0 (patch) | |
tree | adf4dd9068eff606f6ca5c527994f8dd40d0b2f0 | |
parent | 3108d0b0608d12e8f1e2e10dfa8d802ad86eb908 (diff) | |
download | forums-ec220d64946e9fc50df6645087a38c8852625af0.tar forums-ec220d64946e9fc50df6645087a38c8852625af0.tar.gz forums-ec220d64946e9fc50df6645087a38c8852625af0.tar.bz2 forums-ec220d64946e9fc50df6645087a38c8852625af0.tar.xz forums-ec220d64946e9fc50df6645087a38c8852625af0.zip |
[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
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_bool.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |