From 14bb051462a6614ef58ff066bc4bebd568c7808a Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Tue, 30 Dec 2008 03:48:12 +0000 Subject: day view and month bottom problems bug 2476126 --- functions/parse/end_vevent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'functions/parse') 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 -- cgit v1.2.3