// Context part 21

This commit is contained in:
tDidierjean
2011-07-26 16:40:17 +00:00
parent a64edf3ff6
commit ea890721e8
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