// Context part 21

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7742 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-26 16:40:17 +00:00
parent 51b4c8591d
commit d05d16d399
7 changed files with 62 additions and 63 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ class AttributeCore extends ObjectModel
static public function checkAttributeQty($id_product_attribute, $qty, Shop $shop = null)
{
if (!$shop)
$$shop = Context::getContext()->shop;
$shop = Context::getContext()->shop;
$sql = 'SELECT quantity
FROM '._DB_PREFIX_.'stock