// attributes position works fine

This commit is contained in:
vChabot
2011-11-22 14:53:50 +00:00
parent 6ed5a32975
commit aabc36aa95
8 changed files with 277 additions and 139 deletions
+1 -1
View File
@@ -842,7 +842,7 @@ if (Tools::isSubmit('ajaxAttributesPositions'))
$way = (int)Tools::getValue('way');
$id_attribute = (int)Tools::getValue('id_attribute');
$id_attribute_group = (int)Tools::getValue('id_attribute_group');
$positions = Tools::getValue('attribute_'.(int)Tools::getValue('id_attribute_group'));
$positions = Tools::getValue('attribute');
if (is_array($positions))
foreach ($positions as $position => $value)