[-] FO : Fixed errors when calculating most selled products from footer link

This commit is contained in:
Fabio Chelly
2013-11-12 16:36:07 +01:00
parent 175da3ecf6
commit dd05692400
4 changed files with 5 additions and 6 deletions
-1
View File
@@ -89,7 +89,6 @@ class ProductSaleCore
$ids = count($ids) > 0 ? implode(',', $ids) : 'NULL';
//Main query
if ($order_by == 'date_add')
$sql = 'SELECT p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity,
pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`,
pl.`meta_keywords`, pl.`meta_title`, pl.`name`,