From 416fe7b6203fcd6ce2425401dc82d640af683e70 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 9 Feb 2005 20:00:56 +0000 Subject: [PATCH] fixed bug [ 1107983 ] Repeating Events out of order/shifted --- calendar/inc/class.bocalendar.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.bocalendar.inc.php b/calendar/inc/class.bocalendar.inc.php index af4c900f09..972ed98e6a 100755 --- a/calendar/inc/class.bocalendar.inc.php +++ b/calendar/inc/class.bocalendar.inc.php @@ -1885,7 +1885,7 @@ $search_date_month = date('m',$datetime); $search_date_day = date('d',$datetime); $search_date_dow = date('w',$datetime); - $search_beg_day = mktime(0,0,0,$search_date_month,$search_date_day,$search_date_year); + $search_beg_day = mktime(0,0,0,$search_date_month,$search_date_day,$search_date_year,0); if($this->debug) { echo ''."\n"; @@ -1896,7 +1896,7 @@ { $rep_events = $this->repeating_events[$i]; $id = $rep_events['id']; - $event_beg_day = mktime(0,0,0,$rep_events['start']['month'],$rep_events['start']['mday'],$rep_events['start']['year']); + $event_beg_day = mktime(0,0,0,$rep_events['start']['month'],$rep_events['start']['mday'],$rep_events['start']['year'],0); if($rep_events['recur_enddate']['month'] != 0 && $rep_events['recur_enddate']['mday'] != 0 && $rep_events['recur_enddate']['year'] != 0) { $event_recur_time = $this->maketime($rep_events['recur_enddate']);