From a04bae4fd3492c100f091100b06788f23ee0f5b6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 17 Jan 2010 03:59:50 +0000 Subject: [PATCH] fixed class, for birthdays --- calendar/inc/class.calendar_uiviews.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index feb8060da1..3b121f1165 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -2058,7 +2058,8 @@ class calendar_uiviews extends calendar_ui { $this->_day_class_holiday($this->bo->date2string($t),$class,$holidays,true); - if ($class != 'row_on' && $class != 'row_off') // no regular weekday + $class = trim(str_replace(array('row_on','row_off'),'',$class)); + if ($class) // no regular weekday { $content .= $indent.'