From 715b980a39a20081f408315f31710c4ec9be2e1b Mon Sep 17 00:00:00 2001
From: Daniel Voelskow <daniel.voelskow@interface-projects.de>
Date: Mon, 8 Jun 2020 13:11:08 +0200
Subject: [PATCH] reduce php72 warnings in Basic.php

---
 modules/Vtiger/views/Basic.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Vtiger/views/Basic.php b/modules/Vtiger/views/Basic.php
index f37371559..aff63cb2b 100644
--- a/modules/Vtiger/views/Basic.php
+++ b/modules/Vtiger/views/Basic.php
@@ -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;
-- 
GitLab