aboutsummaryrefslogtreecommitdiffstats
path: root/functions/overlapping_events.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-03-16 00:28:54 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-03-16 00:28:54 +0000
commit281851bf42f3a2503bded854ad593693e224a0b8 (patch)
tree8844666bbc5ee14be3465b35ac716aef50e13cbc /functions/overlapping_events.php
parent0a5d30c7787f8d3bed6aa06d5c5e97717c8c5065 (diff)
downloadphpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.tar.gz
phpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.tar.bz2
phpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.zip
changes to fix several warnings and notices
Diffstat (limited to 'functions/overlapping_events.php')
-rw-r--r--functions/overlapping_events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/overlapping_events.php b/functions/overlapping_events.php
index d5bcb9f..84e2afa 100644
--- a/functions/overlapping_events.php
+++ b/functions/overlapping_events.php
@@ -110,7 +110,7 @@ function flatten_ol_blocks($event_date, $ol_blocks, $new_block_key) {
// Builds $overlap_array structure, and updates event_overlap in $master_array for the given events.
function checkOverlap($event_date, $event_time, $uid) {
global $master_array, $overlap_array;
-
+ 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];

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