git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17126 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-31 12:16:15 +00:00
parent 693096d497
commit 91d66ffb53
5 changed files with 29 additions and 29 deletions
@@ -114,7 +114,7 @@ class AdminAttributeGeneratorControllerCore extends AdminController
{
$attributes = Product::getProductAttributesIds($this->product->id);
foreach ($attributes as $attribute)
StockAvailable::removeProductFromStockAvailable($this->product->id, $attribute['id_product_attribute'], $this->context->shop->id);
StockAvailable::removeProductFromStockAvailable($this->product->id, $attribute['id_product_attribute'], $this->context->shop);
}
$this->product->deleteProductAttributes();