diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 07302c699b..67735dd070 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -1149,13 +1149,15 @@ } $this->hour_arr[$ind] .= "] "; $this->hour_arr[$ind] .= "common->get_image_path('calendar')."/circle.gif\" border=0 alt=\"" . $event->description . "\">"; - if ($event->priority == 3) - $this->hour_arr[$ind] .= ""; + if ($event->priority == 3) { + $this->hour_arr[$ind] .= ""; + } $this->hour_arr[$ind] .= $event->name; - if ($event->priority == 3) - $this->hour_arr[$ind] .= ""; - $this->hour_arr[$ind] .= "
"; + if ($event->priority == 3) { + $this->hour_arr[$ind] .= "
"; + } + $this->hour_arr[$ind] .= "
"; } function print_day_at_a_glance($date,$owner=0) {