From 9615de5dcad26777783bd5c5740c851ef8b35ff3 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 7 Jan 2013 10:15:47 +0100 Subject: [PATCH] //merge pull request --- controllers/admin/AdminModulesController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 3aaf5f1be..9f6d883ec 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -325,8 +325,8 @@ class AdminModulesControllerCore extends AdminController @unlink($file); $this->recursiveDeleteOnDisk($tmp_folder); - if (!count($this->errors) && $success && $redirect) - Tools::redirectAdmin(self::$currentIndex.'&conf=8'.'&token='.$this->token); + if ($success && $redirect) + Tools::redirectAdmin(self::$currentIndex.'&conf=8&anchor=anchor'.ucfirst($folder).'&token='.$this->token); } protected function recursiveDeleteOnDisk($dir)