// Code cleaning thanks to maofree #PSCFV-7953
This commit is contained in:
+1
-1
@@ -4876,7 +4876,7 @@ class ProductCore extends ObjectModel
|
|||||||
$result[] = array_merge($attribute, $group[0]);
|
$result[] = array_merge($attribute, $group[0]);
|
||||||
}
|
}
|
||||||
$values_not_custom = Db::getInstance()->executeS('
|
$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
|
FROM `'._DB_PREFIX_.'attribute` a
|
||||||
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al
|
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al
|
||||||
ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.')
|
ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)Context::getContext()->language->id.')
|
||||||
|
|||||||
Reference in New Issue
Block a user