[-] BO : Attributes can now be deleted in Catalogue : Attributes and Groups

This commit is contained in:
mBertholino
2011-12-26 14:41:29 +00:00
parent 30fb231b26
commit e605295d80
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -320,9 +320,9 @@ class AttributeCore extends ObjectModel
// when delete, you must use $use_last_attribute
if ($use_last_attribute)
$sql .= 'AND `id_attribute` != '.(int)$this->id;
$sql .= ' AND `id_attribute` != '.(int)$this->id;
$sql .= 'ORDER BY `position`';
$sql .= ' ORDER BY `position`';
$result = Db::getInstance()->executeS($sql);