From 33d899e06930954f4b2f91e93ca89517d8510879 Mon Sep 17 00:00:00 2001 From: fSerny Date: Tue, 27 Dec 2011 16:01:55 +0000 Subject: [PATCH] [-] BO : When we are in module configuration, all modules are not loaded --- controllers/admin/AdminModulesController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 218a6450a..b3321bb09 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -811,6 +811,10 @@ class AdminModulesControllerCore extends AdminController // Adding Css $this->addCSS(__PS_BASE_URI__.str_replace(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR, '', _PS_ADMIN_DIR_).'/themes/default/modules.css', 'all'); + // If we are on a module configuration, no need to load all modules + if (Tools::getValue('configure') != '') + return true; + // Init $smarty = $this->context->smarty; $autocompleteList = 'var moduleList = [';