//Use protected instead of private function
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8863 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -51,7 +51,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
{
|
||||
$txtMessage = urldecode(Tools::getValue('message'));
|
||||
$this->_updateMessage($txtMessage);
|
||||
if (sizeof($this->errors))
|
||||
if (sizeof($this->errors))
|
||||
die('{"hasError" : true, "errors" : ["'.implode('\',\'', $this->errors).'"]}');
|
||||
die(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user