// small sql fix

This commit is contained in:
rGaillard committed 2012-11-16 16:09:55 +00:00
1 parent b9289df687
commit 84a253548e
1 file changed
+1 -1
+1 -1
View File
@@ -256,7 +256,7 @@ class SupplierCore extends ObjectModel
image_shop.`id_image`, image_shop.`id_image`,
il.`legend`, il.`legend`,
s.`name` AS supplier_name, 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 m.`name` AS manufacturer_name
FROM `'._DB_PREFIX_.'product` p FROM `'._DB_PREFIX_.'product` p
'.Shop::addSqlAssociation('product', 'p').' '.Shop::addSqlAssociation('product', 'p').'