// Refactor AdminController::_errors to errors
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12331 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -116,7 +116,7 @@ class AdminRangeWeightControllerCore extends AdminController
|
||||
public function postProcess()
|
||||
{
|
||||
if ($this->action == 'save' && Tools::getValue('delimiter1') >= Tools::getValue('delimiter2'))
|
||||
$this->_errors[] = Tools::displayError('Invalid range');
|
||||
$this->errors[] = Tools::displayError('Invalid range');
|
||||
else
|
||||
parent::postProcess();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user