// BugFix : empty errors message on adding products
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11104 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -257,7 +257,7 @@ class CartControllerCore extends FrontController
|
||||
public function displayAjax()
|
||||
{
|
||||
if ($this->errors)
|
||||
die(Tools::jsonEncode(array('hasError' => true, $this->errors)));
|
||||
die(Tools::jsonEncode(array('hasError' => true, 'errors' => $this->errors)));
|
||||
|
||||
if (Tools::getIsset('summary'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user