git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7528 b9a71923-0436-4b27-9f14-aed3839534dd

This commit is contained in:
rGaillard
2011-07-06 13:26:34 +00:00
parent cca6578076
commit 3dde6382a5
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.');