[-] BO : fixed bug #PSCFV-383
This commit is contained in:
1 parent
4e73269fcc
commit
dc4e62d8e1
1 file changed
+3
-2
@@ -914,8 +914,9 @@ class AdminImportControllerCore extends AdminController
|
||||
if (!$res)
|
||||
{
|
||||
$this->errors[] = $info['name'].(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 : '').
|
||||
Db::getInstance()->getMsgError();
|
||||
$error_tmp = ($field_error !== true ? $field_error : '').($lang_field_error !== true ? $lang_field_error : '').Db::getInstance()->getMsgError();
|
||||
if ($error_tmp != '')
|
||||
$this->errors[] = $error_tmp;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user