diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index cb79a58771..585462ec17 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -1351,7 +1351,7 @@ class uiviews extends uical 'menuaction' => 'calendar.uiviews.planner', 'planner_days' => 1, 'date' => date('Ymd',$t), - ),false,$class == 'calHoliday' || $class == 'calBirthday' ? '' : ' title="'.$this->html->htmlspecialchars(lang('Dayview')).'"'); + ),false,strstr($class,'calHoliday') || strstr($class,'calBirthday') ? '' : ' title="'.$this->html->htmlspecialchars(lang('Dayview')).'"'); } if ($days < 5) {