aboutsummaryrefslogtreecommitdiffstats
path: root/functions/parse
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-30 03:48:12 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-30 03:48:12 +0000
commit14bb051462a6614ef58ff066bc4bebd568c7808a (patch)
treed33b47812f8ed01baf604943b1ac9525474cc8ad /functions/parse
parent980dbb40bb2cb239f127f8718cd9502ac0498e8b (diff)
downloadphpicalendar-14bb051462a6614ef58ff066bc4bebd568c7808a.tar.gz
phpicalendar-14bb051462a6614ef58ff066bc4bebd568c7808a.tar.bz2
phpicalendar-14bb051462a6614ef58ff066bc4bebd568c7808a.zip
day view and month bottom problems bug 2476126
Diffstat (limited to 'functions/parse')
-rw-r--r--functions/parse/end_vevent.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/functions/parse/end_vevent.php b/functions/parse/end_vevent.php
index 3e2ea4e..9f2e603 100644
--- a/functions/parse/end_vevent.php
+++ b/functions/parse/end_vevent.php
@@ -10,7 +10,6 @@ What happens in this file:
2. Build recur_data array
3. Add occurrences to master_array
*/
-
if (!isset($start_date)) $start_date = "19700101";
// CLASS support
@@ -320,7 +319,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' && $time_key == -1)) continue;
+ if($this_date_tmp == $end_date_tmp && ($end_time == '0000')) continue;
$master_array[$this_date_tmp][$time_key][$uid] = array (
'event_start' => $start_time, # hhmm
'event_end' => $end_time, # hhmm

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