Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Calendar) better relation handling on create recure exception
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Aug 3, 2021
1 parent 430ae6b commit beac4e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tine20/Calendar/Controller/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,9 @@ public function createRecurException($_event, $_deleteInstance = FALSE, $_allFol
$_event->setId(NULL);
unset($_event->rrule);
unset($_event->exdate);
if ($_event->relations instanceof Tinebase_Record_RecordSet) {
$_event->relations->setId(null);
}

foreach (array('attendee', 'notes', 'alarms') as $prop) {
if ($_event->{$prop} instanceof Tinebase_Record_RecordSet) {
Expand Down

0 comments on commit beac4e7

Please sign in to comment.