Fixed error 500 on profiles when filling certain fields in specific conditions.
This commit is contained in:
parent
392881c0d8
commit
f6058823f1
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ if($isEditing) {
|
|||
$profileFieldsSetValues[] = $fieldValue;
|
||||
} else
|
||||
$notices[] = sprintf('%s isn\'t properly formatted.', $fieldInfo->getTitle());
|
||||
|
||||
unset($fieldName, $fieldValue, $fieldInfo);
|
||||
}
|
||||
|
||||
if(!empty($profileFieldsRemove))
|
||||
|
|
Loading…
Reference in a new issue