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
This commit is contained in:
nathan 2025-01-22 16:31:17 -07:00
parent 95a5139112
commit 2c18e0438a

View File

@ -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);