// Fix Product->setStock()

This commit is contained in:
rMalie committed 2011-08-11 09:59:23 +00:00
1 parent 7fec565167
commit accec09c98
1 file changed
+1 -1
+1 -1
View File
@@ -2109,7 +2109,7 @@ class ProductCore extends ObjectModel
if (!$context) if (!$context)
$context = Context::getContext(); $context = Context::getContext();
$id_shop = $shop->getID(true); $id_shop = $context->shop->getID(true);
if (!isset(self::$cacheStock[$this->id][$id_product_attribute])) if (!isset(self::$cacheStock[$this->id][$id_product_attribute]))
{ {
$sql = 'SELECT quantity $sql = 'SELECT quantity