// Clean copy_from_front data

This commit is contained in:
rMalie
2012-02-28 12:45:36 +00:00
parent f15c62740e
commit 6d4bf3b9aa
3 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -798,7 +798,7 @@ abstract class ObjectModelCore
$errors[] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.');
else
{
if (!isset($data['copy_from_front']) || !$data['copy_from_front'])
if (isset($data['copy_post']) && !$data['copy_post'])
continue;
if ($field == 'passwd')
{