From 45860ab7ef6dfc009489ecab733eec7eaff85129 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) --- 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; } }