diff options
author | jwangen <jwangen> | 2002-11-02 05:17:17 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-11-02 05:17:17 +0000 |
commit | 15e50df43b59493358d034ca684450aec36093c9 (patch) | |
tree | d052ede69aec8cf4fde15499f6d17c775451cac3 /functions/overlapping_events.php | |
parent | c1b79428e7e0ce1c094457932e1941fd397768ce (diff) | |
download | phpicalendar-15e50df43b59493358d034ca684450aec36093c9.tar.gz phpicalendar-15e50df43b59493358d034ca684450aec36093c9.tar.bz2 phpicalendar-15e50df43b59493358d034ca684450aec36093c9.zip |
fixed all errors which error_reporting() was returning
Diffstat (limited to 'functions/overlapping_events.php')
-rw-r--r-- | functions/overlapping_events.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/overlapping_events.php b/functions/overlapping_events.php index 8a55f09..11e5322 100644 --- a/functions/overlapping_events.php +++ b/functions/overlapping_events.php @@ -109,7 +109,7 @@ function checkOverlap($ol_start_date, $ol_start_time, $ol_end_time) { if (isset($master_array[($ol_start_date)])) { foreach ($master_array[($ol_start_date)] as $keyTime => $eventTime) { foreach ($eventTime as $keyEvent => $event) { - $entryDrawTimes = drawEventTimes($event["event_start"], $event["event_end"]); + if ($keyTime != '-1') $entryDrawTimes = drawEventTimes($event["event_start"], $event["event_end"]); if (isset($entryDrawTimes["draw_start"], $entryDrawTimes["draw_end"], $drawTimes["draw_end"], $drawTimes["draw_start"]) && ($entryDrawTimes["draw_start"] < $drawTimes["draw_end"]) and ($entryDrawTimes["draw_end"] > $drawTimes["draw_start"])) { // define start time of overlap range and overlap block if ($entryDrawTimes["draw_start"] < $drawTimes["draw_start"]) { |