From 0da8fdf53eeb303e8be152d85998adf3339a2eeb Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 23 May 2001 00:44:04 +0000 Subject: [PATCH] This should solve the problem with repeating events. --- calendar/inc/class.calendar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar.inc.php b/calendar/inc/class.calendar.inc.php index 4ee28fe4bb..25fe1c7dd8 100755 --- a/calendar/inc/class.calendar.inc.php +++ b/calendar/inc/class.calendar.inc.php @@ -537,7 +537,7 @@ class calendar extends calendar_ continue; } - if (($this->day_of_week($rep_events->start->year,$rep_events->start->month,$rep_events->start->mday) == $this->day_of_week($search_date_year,$search_date_month,$search_date_day)) && + if (($this->datetime->day_of_week($rep_events->start->year,$rep_events->start->month,$rep_events->start->mday) == $this->datetime->day_of_week($search_date_year,$search_date_month,$search_date_day)) && (ceil($rep_events->start->mday/7) == ceil($search_date_day/7))) { $link[$this->repeating_event_matches++] = $id;