Skip to content
Snippets Groups Projects
Commit 4251de56 authored by Apparao G's avatar Apparao G
Browse files

Fixes::157349776::Glitches in the displaying in the pick list names in task management

parents 05e514f4 7f43483b
No related branches found
No related tags found
1 merge request!1014Fixes::157349776::Glitches in the displaying in the pick list names in task management
......@@ -118,7 +118,8 @@ class Calendar_TaskManagement_View extends Vtiger_Index_View {
}
}
if($color=='#ffffff' || empty($color)) {
$color = '#'.dechex(rand(0x000000, 0xFFFFFF));
$color = '#' . str_pad(dechex(rand(0, 50)), 2, '0') . str_pad(dechex(rand(0, 50)), 2, '0') . str_pad(dechex(rand(0, 50)), 2, '0');
}
return $color;
}
......
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