From 3ee70b56d78fcd04ce17325512257800d148ca11 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Fri, 28 Sep 2012 09:32:18 +0000 Subject: [PATCH] [-] BO : fixed bug #PSCFV-4262 --- controllers/admin/AdminCategoriesController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index 167413b1c..69aa08001 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -545,9 +545,8 @@ class AdminCategoriesControllerCore extends AdminController $object = parent::processAdd(); //if we create a you root category you have to associate to a shop before to add sub categories in. So we redirect to AdminCategories listing - if ($object && Tools::isSubmit('is_root_category')) + if ($object && Tools::getValue('is_root_category')) Tools::redirectAdmin(self::$currentIndex.'&token='.Tools::getAdminTokenLite('AdminCategories').'&conf=3'); - return $object; }