diff --git a/classes/Product.php b/classes/Product.php index af4921a71..3a87dc936 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -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.')