// Fixed AdminProductsController : could not save product

This commit is contained in:
bMancone
2012-04-16 08:30:09 +00:00
parent 97b2321ba0
commit 6d53728bc8
@@ -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);