[-] BO : #PSFV-686 - Fix import error output

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14304 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-03-27 15:38:41 +00:00
parent 8d74c12a0f
commit 5e3ba2fa42
+1 -1
View File
@@ -1579,7 +1579,7 @@ class AdminImportControllerCore extends AdminController
if (!$res)
{
$this->errors[] = $info['email'].(isset($info['id']) ? ' (ID '.$info['id'].')' : '').' '.Tools::displayError('Cannot be saved');
$this->errors[] = ($field_error !== true ? $field_error : ($lang_field_error !== true ? $lang_field_error : '')).
$this->errors[] = ($field_error !== true ? $field_error : '').($lang_field_error !== true ? $lang_field_error : '').
Db::getInstance()->getMsgError();
}
}