// Refactor AdminController::_errors to errors
This commit is contained in:
1 parent
0cea793a08
commit
88b3c8f9e7
68 files changed
+857
-859
No files matched your search
@@ -390,11 +390,11 @@ class AdminCountriesControllerCore extends AdminController
|
||||
{
|
||||
$error_list = $tmp_addr_format->getErrorList();
|
||||
foreach ($error_list as $num_error => $error)
|
||||
$this->_errors[] = $error;
|
||||
$this->errors[] = $error;
|
||||
}
|
||||
|
||||
if (!$save_status)
|
||||
$this->_errors[] = Tools::displayError('Invalid address layout'.Db::getInstance()->getMsgError());
|
||||
$this->errors[] = Tools::displayError('Invalid address layout'.Db::getInstance()->getMsgError());
|
||||
}
|
||||
unset($tmp_addr_format);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user