diff options
author | rxu <rxu@mail.ru> | 2012-02-10 00:31:13 +0800 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2012-02-10 00:31:13 +0800 |
commit | 345e8e084fd5ab7f99442ce6515a786a90806e2e (patch) | |
tree | 82034f336a4fb87ac631b6da44e3352441b6593c /phpBB/includes/functions_profile_fields.php | |
parent | 3feeb382c5faa00cbe69870ed7b96e927f8f59e2 (diff) | |
download | forums-345e8e084fd5ab7f99442ce6515a786a90806e2e.tar forums-345e8e084fd5ab7f99442ce6515a786a90806e2e.tar.gz forums-345e8e084fd5ab7f99442ce6515a786a90806e2e.tar.bz2 forums-345e8e084fd5ab7f99442ce6515a786a90806e2e.tar.xz forums-345e8e084fd5ab7f99442ce6515a786a90806e2e.zip |
[ticket/9084] Don't hide 'non-entered' dropdown CPF value if not required
PHPBB3-9084
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index 1eae2a9ad6..79701429e6 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -571,7 +571,7 @@ class custom_profile $this->get_option_lang($field_id, $lang_id, FIELD_DROPDOWN, false); } - if ($value == $ident_ary['data']['field_novalue']) + if ($value == $ident_ary['data']['field_novalue'] && $ident_ary['data']['field_required']) { return NULL; } |