Don't set recurrence_date for master event (#4738)
This commit is contained in:
parent
1bcc7a48ef
commit
2e8eb8596f
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ class libcalendaring extends rcube_plugin
|
|||
$object['_instance'] = $object['recurrence_date']->format($recurrence_id_format);
|
||||
$object['_savemode'] = $object['thisandfuture'] ? 'future' : 'current';
|
||||
}
|
||||
else if (!empty($object['recurrence_id']) || !empty($object['_instance'])) {
|
||||
else if (!empty($object['recurrence_id']) && !empty($object['_instance'])) {
|
||||
if (strlen($object['_instance']) > 4) {
|
||||
$object['recurrence_date'] = rcube_utils::anytodatetime($object['_instance'], $object['start']->getTimezone());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue