[-] BO : Attributes can now be deleted in Catalogue : Attributes and Groups
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11768 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user