// Fix some bug on advanced stock management

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16353 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-07-11 15:46:39 +00:00
parent 3940cb70ce
commit f39226c85e
10 changed files with 66 additions and 41 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class LinkCore
if (is_array($product) && isset($product['id_product']))
$product = new Product($product['id_product'], false, $id_lang);
else if (is_numeric($product) || !$product)
$product = new Product($product, false, $id_lang);
$product = new Product($product, false, $id_lang);
else
throw new PrestaShopException('Invalid product vars');
}