// Clean copy_from_front data

This commit is contained in:
rMalie committed 2012-02-28 12:45:36 +00:00
1 parent f15c62740e
commit 6d4bf3b9aa
3 files changed
+52 -52

No files matched your search

+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')
{