mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fixed typo causing fatal error when client sends a recuring event with a given number of occurences
This commit is contained in:
parent
64cf625403
commit
e34db60775
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user