mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/9084] Don't hide 'non-entered' dropdown CPF value if not required
PHPBB3-9084
This commit is contained in:
@@ -571,7 +571,7 @@ class custom_profile
|
|||||||
$this->get_option_lang($field_id, $lang_id, FIELD_DROPDOWN, false);
|
$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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user