From ea4e871897059dd953a34c86be443b27fecf4b22 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14643 b9a71923-0436-4b27-9f14-aed3839534dd --- 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);