From a1595d064770dec68bbc7f036a949ca9ef7ae783 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 20 Aug 2025 07:26:18 +0200 Subject: [PATCH] Fix #10790 --- app/Support/JsonApi/Enrichments/RecurringEnrichment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php index 989e9ea924..0f86426117 100644 --- a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php +++ b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php @@ -137,7 +137,7 @@ class RecurringEnrichment implements EnrichmentInterface // get the (future) occurrences for this specific type of repetition: $amount = 'daily' === $repetition->repetition_type ? 9 : 5; $set = $repository->getXOccurrencesSince($repetition, $fromDate, now(config('app.timezone')), $amount); - + $occurrences = []; /** @var Carbon $carbon */ foreach ($set as $carbon) { $occurrences[] = $carbon->toAtomString();