Fixed: Rector issues for php 8 compatibility
This commit is contained in:
@@ -1260,7 +1260,7 @@ class AdminModulesControllerCore extends AdminController
|
||||
$filter_categories = [];
|
||||
if (Configuration::get('PS_SHOW_CAT_MODULES_'.(int)$this->id_employee)) {
|
||||
$filter_categories = explode('|', Configuration::get('PS_SHOW_CAT_MODULES_'.(int)$this->id_employee));
|
||||
|
||||
}
|
||||
if (count($category_filtered) > 0 && !isset($category_filtered[$module->tab])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user