1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

[ticket/9084] Don't hide 'non-entered' dropdown CPF value if not required

PHPBB3-9084
This commit is contained in:
rxu 2012-02-10 00:31:13 +08:00
parent 3feeb382c5
commit 345e8e084f

View File

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