From 2c18e0438a024fb55d586fe33ce4991ca3efe3e7 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 22 Jan 2025 16:31:17 -0700 Subject: [PATCH] Calendar: Fix changing status of whole day recurring events could give an error calendar_so::startOfDay(): Argument #1 ($time) must be of type EGroupware\Api\DateTime, string given --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index b39750f21a..7b603bcdeb 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -3444,7 +3444,7 @@ class calendar_uiforms extends calendar_ui { if (!empty($event['whole_day'])) { - $d =& $this->bo->so->startOfDay($date); + $d =& $this->bo->so->startOfDay($d); $d->setUser(); } $event = $this->bo->read($eventId, $d, true);