From 0b8ee869057d709ab636ca3725d92f2cbd9b73c6 Mon Sep 17 00:00:00 2001 From: appu <apparao@vtiger.com> Date: Tue, 23 Jan 2024 11:23:07 +0530 Subject: [PATCH] #Fixes::Appu::157349776::Glitches in the displaying in the pick list names in task management --- modules/Calendar/views/TaskManagement.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/Calendar/views/TaskManagement.php b/modules/Calendar/views/TaskManagement.php index f931896fd..d9c154120 100644 --- a/modules/Calendar/views/TaskManagement.php +++ b/modules/Calendar/views/TaskManagement.php @@ -117,8 +117,7 @@ class Calendar_TaskManagement_View extends Vtiger_Index_View { $color = $db->query_result($result,$i,'color'); } } - if(($color=='#ffffff') || ($color==' ')) - { + if($color=='#ffffff' || empty($color)) { $color = '#'.dechex(rand(0x000000, 0xFFFFFF)); } return $color; -- GitLab