diff --git a/public-legacy/profile.php b/public-legacy/profile.php index fe3916e..5b4be09 100644 --- a/public-legacy/profile.php +++ b/public-legacy/profile.php @@ -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))