From dd10e871736f325112371b2c0650bcd10f08bcb8 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 10 Jan 2001 05:39:01 +0000 Subject: [PATCH] fix for events spanning same time --- calendar/inc/functions.inc.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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) {