// Refactor AdminController::_errors to errors
This commit is contained in:
@@ -130,7 +130,7 @@ class AdminAccountingManagementControllerCore extends AdminController
|
||||
if (count($tab) && Accounting::setAccountNumberByZoneShop($tab))
|
||||
$this->confirmations[] = $this->l('Account numbers have been updated');
|
||||
else
|
||||
$this->_errors[] = $this->l('Account Numbers could not be updated or added in the database');
|
||||
$this->errors[] = $this->l('Account Numbers could not be updated or added in the database');
|
||||
//$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
|
||||
//Tools::redirectAdmin(self::$currentIndex.'&token='.$token);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user