mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-12 08:20:31 +01:00
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:
parent
95a5139112
commit
2c18e0438a
@ -3444,7 +3444,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
{
|
{
|
||||||
if (!empty($event['whole_day']))
|
if (!empty($event['whole_day']))
|
||||||
{
|
{
|
||||||
$d =& $this->bo->so->startOfDay($date);
|
$d =& $this->bo->so->startOfDay($d);
|
||||||
$d->setUser();
|
$d->setUser();
|
||||||
}
|
}
|
||||||
$event = $this->bo->read($eventId, $d, true);
|
$event = $this->bo->read($eventId, $d, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user