From e34db60775527b39e74ef73bc17ff542770b53b5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 1 Apr 2011 08:23:09 +0000 Subject: [PATCH] fixed typo causing fatal error when client sends a recuring event with a given number of occurences --- calendar/inc/class.calendar_activesync.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_activesync.inc.php b/calendar/inc/class.calendar_activesync.inc.php index fce42c1d58..3c26d9828d 100644 --- a/calendar/inc/class.calendar_activesync.inc.php +++ b/calendar/inc/class.calendar_activesync.inc.php @@ -525,7 +525,7 @@ class calendar_activesync implements activesync_plugin_write { // calculate enddate from occurences count, as we only support enddate $count = $message->recurrence->occurrences; - foreach(calendar_rrule::event2rrule($event, true) as $time) // true = timestamps are user time here, because of save! + foreach(calendar_rrule::event2rrule($event, true) as $rtime) // true = timestamps are user time here, because of save! { if (--$count <= 0) break; }