Skip to content

Commit

Permalink
Merge pull request PrestaShop#2953 from PrestaEdit/patch-112
Browse files Browse the repository at this point in the history
Class: StockAvailable / Fix #PSCSX-5432
  • Loading branch information
Jérôme Nadaud committed Apr 29, 2015
2 parents 2a93d18 + c2c411a commit 73e3094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/stock/StockAvailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public static function removeProductFromStockAvailable($id_product, $id_product_

$stock_available = new StockAvailable();
$stock_available->id_product = (int)$id_product;
$stock_available->id_product_attribute = (int)$id_product;
$stock_available->id_product_attribute = (int)$id_product_attribute;
$stock_available->id_shop = (int)$id_shop;
$stock_available->postSave();
}
Expand Down

0 comments on commit 73e3094

Please sign in to comment.