// 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:
@@ -180,17 +180,17 @@ class AdminShippingControllerCore extends AdminController
|
||||
Tools::redirectAdmin(self::$currentIndex.'&conf=6&id_carrier='.$carrier->id.'&token='.$this->token);
|
||||
}
|
||||
else
|
||||
$this->_errors[] = Tools::displayError('An error occurred while updating fees (cannot load carrier object).');
|
||||
$this->errors[] = Tools::displayError('An error occurred while updating fees (cannot load carrier object).');
|
||||
}
|
||||
elseif (isset($id_carrier2))
|
||||
{
|
||||
$_POST['id_carrier'] = $id_carrier2;
|
||||
}
|
||||
else
|
||||
$this->_errors[] = Tools::displayError('An error occurred while updating fees (cannot load carrier object).');
|
||||
$this->errors[] = Tools::displayError('An error occurred while updating fees (cannot load carrier object).');
|
||||
}
|
||||
else
|
||||
$this->_errors[] = Tools::displayError('You do not have permission to edit here.');
|
||||
$this->errors[] = Tools::displayError('You do not have permission to edit here.');
|
||||
}
|
||||
else
|
||||
return parent::postProcess();
|
||||
|
||||
Reference in New Issue
Block a user