From c0864ccedbb2d3f35127ffad059b73939cff508e Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 3 Oct 2012 13:52:01 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-2097 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17722 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminModulesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 562c42e54..fbe2fe9d0 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -806,7 +806,7 @@ class AdminModulesControllerCore extends AdminController { foreach ($modules as $k => $module) { - // Check add permissions, if add permissions not set, addons modules and non installed modules will not be displayed + // Check add permissions, if add permissions not set, addons modules and uninstalled modules will not be displayed if ($this->tabAccess['add'] !== '1' && isset($module->type) && ($module->type != 'addonsNative' || $module->type != 'addonsBought')) unset($modules[$k]); else if ($this->tabAccess['add'] !== '1' && (!isset($module->id) || $module->id < 1))