From eaff9bb2495fc1929df1125a4a0c36cf60302dd8 Mon Sep 17 00:00:00 2001 From: Owen Bush <owen.bush@lullabot.com> Date: Fri, 1 Sep 2023 13:18:47 -0600 Subject: [PATCH] Automatically set the owner of the instance to be the owner of the series --- src/EventCreationService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EventCreationService.php b/src/EventCreationService.php index 18eeafe..872a377 100644 --- a/src/EventCreationService.php +++ b/src/EventCreationService.php @@ -524,6 +524,7 @@ class EventCreationService { 'end_value' => $end_date->format(DateTimeItemInterface::DATETIME_STORAGE_FORMAT), ], 'type' => $event->getType(), + 'uid' => $event->getOwnerId(), ]; $this->moduleHandler->alter('recurring_events_event_instance', $data); -- GitLab