From 42bc64bbe3b8af3ee66517e61abcf1a1650f7ec0 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 3 Oct 2012 13:52:01 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-2097 --- 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))