aboutsummaryrefslogtreecommitdiffstats
path: root/functions/parse/overlapping_events.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions/parse/overlapping_events.php')
-rw-r--r--functions/parse/overlapping_events.php4
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.

© 2014-2024 Faster IT GmbH | imprint | privacy policy