fixed class, for birthdays

This commit is contained in:
Ralf Becker 2010-01-17 03:59:50 +00:00
parent 4600c7cb38
commit a04bae4fd3

View File

@ -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.'<div class="eventRowsMarkedDay '.$class.
'" style="left: '.$left.'%; width:'.$day_width.'%;"'.