This commit is contained in:
rGaillard
2011-07-06 13:26:34 +00:00
parent 9247fd7971
commit 692c1e9c8d
2 changed files with 8 additions and 6 deletions
+1
View File
@@ -1232,6 +1232,7 @@ class AdminProducts extends AdminTab
$this->copyFromPost($object, $this->table);
if ($object->add())
{
$this->updateAssoShop((int)$object->id);
$this->updateAccessories($object);
if (!$this->updatePackItems($object))
$this->_errors[] = Tools::displayError('An error occurred while adding products to the pack.');