From 2ad34b2c882df3fc0dd6fe90e3703f5c28e9c836 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Fri, 3 Aug 2012 14:09:06 +0000 Subject: [PATCH] [-] BO : fixed bug #PSCFV-3466 --- controllers/admin/AdminAttributesGroupsController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index de366526e..e6b8fa3e5 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -415,6 +415,9 @@ class AdminAttributesGroupsControllerCore extends AdminController else $this->redirect_after = self::$currentIndex.'&'.$this->identifier.'=&id_attribute_group='.(int)Tools::getValue('id_attribute_group').'&conf=3&update'.$this->table.'&token='.$this->token; } + + if (count($this->errors)) + $this->setTypeAttribute(); } /**