From 4514aa3bfa9386e502b9c804441720dea36e0b90 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 29 Jun 2002 00:41:44 +0000 Subject: [PATCH] GNU Bug #761. --- calendar/inc/class.bocalendar.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.bocalendar.inc.php b/calendar/inc/class.bocalendar.inc.php index 6ad9798c9a..8a3712ede5 100755 --- a/calendar/inc/class.bocalendar.inc.php +++ b/calendar/inc/class.bocalendar.inc.php @@ -1023,7 +1023,8 @@ } $temp_event_start = sprintf("%d%02d",$event['start']['hour'],$event['start']['min']); $temp_event_end = sprintf("%d%02d",$event['end']['hour'],$event['end']['min']); - if((($temp_start_time <= $temp_event_start) && ($temp_end_time >= $temp_event_start) && ($temp_end_time <= $temp_event_end)) || +// if((($temp_start_time <= $temp_event_start) && ($temp_end_time >= $temp_event_start) && ($temp_end_time <= $temp_event_end)) || + if((($temp_start_time <= $temp_event_start) && ($temp_end_time > $temp_event_start) && ($temp_end_time <= $temp_event_end)) || (($temp_start_time >= $temp_event_start) && ($temp_start_time < $temp_event_end) && ($temp_end_time >= $temp_event_end)) || (($temp_start_time <= $temp_event_start) && ($temp_end_time >= $temp_event_end)) || (($temp_start_time >= $temp_event_start) && ($temp_end_time <= $temp_event_end)))