aboutsummaryrefslogtreecommitdiffstats
path: root/functions/parse
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-27 11:42:41 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-27 11:42:41 +0000
commit195553ad26b4c8c3639041698309b47ae6d1b1f3 (patch)
treee430582dc5d10be89e03ff097614b12865c804e8 /functions/parse
parent333f00a0225a94e94f4388937e1741e102c5b110 (diff)
downloadphpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.tar.gz
phpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.tar.bz2
phpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.zip
do not check overlap on all day events -- yet
Diffstat (limited to 'functions/parse')
-rw-r--r--functions/parse/end_vevent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/parse/end_vevent.php b/functions/parse/end_vevent.php
index 502d54c..9a13bbe 100644
--- a/functions/parse/end_vevent.php
+++ b/functions/parse/end_vevent.php
@@ -320,7 +320,7 @@ foreach($recur_data as $recur_data_unixtime) {
# the day is not the last day of the recurrence
if ($this_date_tmp < $end_date_tmp) $display_end_tmp = '2400';
}
- if($this_date_tmp == $end_date_tmp && $end_time == '0000') continue;
+ if($this_date_tmp == $end_date_tmp && ($end_time == '0000' ||$time_key == -1)) continue;
$master_array[$this_date_tmp][$time_key][$uid] = array (
'event_start' => $start_time, # hhmm
'event_end' => $end_time, # hhmm
@@ -342,7 +342,7 @@ foreach($recur_data as $recur_data_unixtime) {
'url' => $url,
'recur' => $recur
);
- checkOverlap($this_date_tmp, $time_key, $uid);
+ if($time_key > -1) checkOverlap($this_date_tmp, $time_key, $uid);
}
} # end foreach recur_data
unset($recur_data);

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