// Fixed AdminProductsController : could not save product
This commit is contained in:
1 parent
97b2321ba0
commit
6d53728bc8
1 file changed
+1
-2
@@ -1456,8 +1456,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
$this->addCarriers();
|
$this->addCarriers();
|
||||||
$this->updateAssoShop((int)$this->object->id);
|
$this->updateAssoShop((int)$this->object->id);
|
||||||
$this->updateAccessories($this->object);
|
$this->updateAccessories($this->object);
|
||||||
if (!$this->updatePackItems($this->object))
|
$this->updatePackItems($this->object);
|
||||||
$this->errors[] = Tools::displayError('An error occurred while adding products to the pack.');
|
|
||||||
$this->updateDownloadProduct($this->object);
|
$this->updateDownloadProduct($this->object);
|
||||||
$this->object->setTaxRulesGroup((int)Tools::getValue('id_tax_rules_group'), true);
|
$this->object->setTaxRulesGroup((int)Tools::getValue('id_tax_rules_group'), true);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user