Permalink
Browse files

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

…ired

PHPBB3-9084
  • Loading branch information...
1 parent 3feeb38 commit 345e8e084fd5ab7f99442ce6515a786a90806e2e @rxu rxu committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 phpBB/includes/functions_profile_fields.php
@@ -571,7 +571,7 @@ function get_profile_value($ident_ary)
$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;
}

0 comments on commit 345e8e0

Please sign in to comment.