Skip to content
Snippets Groups Projects
Commit 715b980a authored by Daniel Voelskow's avatar Daniel Voelskow
Browse files

reduce php72 warnings in Basic.php

parent 1ac5dee6
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ abstract class Vtiger_Basic_View extends Vtiger_Footer_View {
foreach ($menuGroupedByParent as $parentCategory => $menuList) {
if($parentCategory == 'ANALYTICS' || $parentCategory == 'SETTINGS') continue;
if(count($menuList) > 0) {
if(!empty($menuList)) {
if(array_key_exists($selectedModule, $menuList) && ($parentCategory == $parentApp)) {
$moduleFound = true;
$selectedModuleMenuCategory = $parentCategory;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment