// Context

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7600 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-12 13:50:15 +00:00
parent 25b1bceffd
commit 50f9794383
20 changed files with 319 additions and 264 deletions
+1 -1
View File
@@ -2089,7 +2089,7 @@ class ProductCore extends ObjectModel
// For retrocompatibility
$id_product_attribute = (int)$id_product_attribute;
$quantity = (int)$quantity;
if (Shop::isDefaultShop($shop))
if (Shop::getInstance($shop)->isDefaultShop())
{
if ($id_product_attribute)
{