// Context part 15

This commit is contained in:
rMalie
2011-07-19 16:17:14 +00:00
parent 1fdf4400b7
commit 02a738dce1
39 changed files with 231 additions and 198 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class StatsCatalog extends Module
$this->_join = ' LEFT JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_product` = p.`id_product`)';
$this->_where = ' AND cp.`id_category` = '.$id_category;
}
$this->_join .= Shop::sqlAsso('product', 'p', true, $this->context);
$this->_join .= $this->context->shop->sqlAsso('product', 'p', true);
$result1 = $this->getQuery1(true);
$total = $result1['total'];