diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-15 17:25:27 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-15 17:25:27 +0000 |
commit | cb1509c1c670974f54ed67d2076fef39e0d20812 (patch) | |
tree | 7f7f64c60ad63cf884cf5562565f46cffd3f9597 /functions/parse/overlapping_events.php | |
parent | 99cfde6479207ba9349d8c4a093ef14a1026154d (diff) | |
download | phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.gz phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.bz2 phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.zip |
big changes to recurrence; trying to get closer to the spec
Diffstat (limited to 'functions/parse/overlapping_events.php')
-rw-r--r-- | functions/parse/overlapping_events.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/parse/overlapping_events.php b/functions/parse/overlapping_events.php index 9595c83..224f79b 100644 --- a/functions/parse/overlapping_events.php +++ b/functions/parse/overlapping_events.php @@ -114,7 +114,7 @@ function checkOverlap($event_date, $event_time, $uid) { if (!isset($event_date)) return; $event = $master_array[$event_date][$event_time][$uid]; // Copy out the array - we replace this at the end. - $ol_day_array = $overlap_array[$event_date]; + $ol_day_array = @$overlap_array[$event_date]; $drawTimes = drawEventTimes($event['event_start'], $event['event_end']); // For a given date, @@ -141,7 +141,7 @@ function checkOverlap($event_date, $event_time, $uid) { // 'start' - start_time for the overlap block. // 'end' - end_time for the overlap block. - $ol_day_array = $overlap_array[$event_date]; + $ol_day_array = @$overlap_array[$event_date]; // Track if $event has been merged in, so we don't re-add the details to 'event' or 'overlapRanges' multiple times. $already_merged_once = false; // First, check the existing overlap blocks, see if the event overlaps with any. |