From 1c37c964733390b61168496139bdefc12075281a Mon Sep 17 00:00:00 2001
From: "yogeshwar.g" <yogeshwar.g@vtigersolutions.com>
Date: Mon, 22 Jan 2024 16:21:16 +0530
Subject: [PATCH] #Fixes::157349776::Yogeshwar::Taskmanagement PicklistIssue;

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

diff --git a/modules/Calendar/views/TaskManagement.php b/modules/Calendar/views/TaskManagement.php
index 21b3e1541..f931896fd 100644
--- a/modules/Calendar/views/TaskManagement.php
+++ b/modules/Calendar/views/TaskManagement.php
@@ -117,7 +117,7 @@ class Calendar_TaskManagement_View extends Vtiger_Index_View {
 				$color = $db->query_result($result,$i,'color');
 			}
 		}
-		if(($color=='#ffffff') || ($color=' '))
+		if(($color=='#ffffff') || ($color==' '))
 		{
 			$color = '#'.dechex(rand(0x000000, 0xFFFFFF));
 		}
-- 
GitLab