From 206950d8942c186d9fa2d24e202099586ad65e36 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 2 Feb 2012 17:35:12 +0000 Subject: [PATCH] [-] BO : #PSTEST-400 - Fix bug with attribute value and "save and stay" (attribute type) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12945 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminAttributesGroupsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 388106122..82df228b5 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -376,7 +376,7 @@ class AdminAttributesGroupsControllerCore extends AdminController if ($this->display == 'add') $this->redirect_after = self::$currentIndex.'&'.$this->identifier.'=&conf=3&update'.$this->table.'&token='.$token; else - $this->redirect_after = self::$currentIndex.'&'.$this->identifier.'&conf=3&update'.$this->table.'&token='.$token; + $this->redirect_after = self::$currentIndex.'&id_attribute_group='.(int)Tools::getValue('id_attribute_group').'&'.$this->identifier.'&conf=3&update'.$this->table.'&token='.$token; } }