[kronolith] Colors in WeekView

Charles P. Wright cpwright at cpwright.com
Mon Sep 22 18:40:58 PDT 2003


Hello,

In the Week view of Kronolith 1.1 I was getting the default color, but the
correct one in Month view.

Changing line 173 from:
         
$categoryColor =
isset($colors[$event->getCalendar()][$event->getCategory()]) ?  
$colors[$event->getCalendar()][$event->getCategory()] : '#ccccff';

To:

$categoryColor = isset($colors[$event->getCategory()]) ?
$colors[$event->getCategory()] :  '#ccccff';

Fixed the problem.

Charles




More information about the kronolith mailing list