// Code cleaning thanks to maofree #PSCFV-7953

This commit is contained in:
Damien Metzger
2013-03-20 11:21:36 +01:00
parent 09d5c695bb
commit 2fb9b140f0
+1 -1
View File
@@ -4876,7 +4876,7 @@ class ProductCore extends ObjectModel
$result[] = array_merge($attribute, $group[0]);
}
$values_not_custom = Db::getInstance()->executeS('
SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group`
SELECT DISTINCT a.`id_attribute`, a.`id_attribute_group`, al.`name` as `attribute`, agl.`name` as `group`
FROM `'._DB_PREFIX_.'attribute` a
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al
ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.')