mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9084] Don't hide 'non-entered' dropdown CPF value if not required
PHPBB3-9084
This commit is contained in:
parent
3feeb382c5
commit
345e8e084f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue