// BugFix : empty errors message on adding products
This commit is contained in:
1 parent
30ded0e890
commit
0bc65a45f9
1 file changed
+1
-1
@@ -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