From 6d53728bc87a79761ef8c5006c4fe6bc46e3cd4b Mon Sep 17 00:00:00 2001 From: bMancone Date: Mon, 16 Apr 2012 08:30:09 +0000 Subject: [PATCH] // Fixed AdminProductsController : could not save product --- controllers/admin/AdminProductsController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminProductsController.php b/controllers/admin/AdminProductsController.php index 4b5b97430..9d1121ab5 100644 --- a/controllers/admin/AdminProductsController.php +++ b/controllers/admin/AdminProductsController.php @@ -1456,8 +1456,7 @@ class AdminProductsControllerCore extends AdminController $this->addCarriers(); $this->updateAssoShop((int)$this->object->id); $this->updateAccessories($this->object); - if (!$this->updatePackItems($this->object)) - $this->errors[] = Tools::displayError('An error occurred while adding products to the pack.'); + $this->updatePackItems($this->object); $this->updateDownloadProduct($this->object); $this->object->setTaxRulesGroup((int)Tools::getValue('id_tax_rules_group'), true);