// attributes position works fine

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10433 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-11-22 14:53:50 +00:00
parent 3fbdda4b45
commit 4b15da6656
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)