[*] BO : Adding filter for modules bought on Addons

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13733 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-02-29 10:44:48 +00:00
parent 1f486f0fac
commit 24c4392215
4 changed files with 4 additions and 7 deletions
@@ -890,6 +890,8 @@ class AdminModulesControllerCore extends AdminController
return true;
else if ($show_type_modules == 'partnerModules' && !in_array($module->name, $this->list_partners_modules))
return true;
else if (!isset($module->type) || ($show_type_modules == 'addonsModules' && $module->type != 'addonsBought'))
return true;
else if ($show_type_modules == 'otherModules' && (in_array($module->name, $this->list_partners_modules) || in_array($module->name, $this->list_natives_modules)))
return true;
else if (strpos($show_type_modules, 'authorModules[') !== false)