// 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
This commit is contained in:
bMancone
2012-04-16 08:30:09 +00:00
parent aed2458a70
commit ea4e871897
@@ -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);