// small sql fix

This commit is contained in:
rGaillard
2012-11-16 16:09:55 +00:00
parent 59a602c274
commit 4aa0a69953
+1 -1
View File
@@ -256,7 +256,7 @@ class SupplierCore extends ObjectModel
image_shop.`id_image`,
il.`legend`,
s.`name` AS supplier_name,
DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL '.($nb_days_new_product).' DAY)) > 0 AS new
DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL '.($nb_days_new_product).' DAY)) > 0 AS new,
m.`name` AS manufacturer_name
FROM `'._DB_PREFIX_.'product` p
'.Shop::addSqlAssociation('product', 'p').'