// Clean copy_from_front data

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13675 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-28 12:45:36 +00:00
parent 139f0839db
commit d7f60335e4
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')
{