Skip to content

Commit 08af1b6

Browse files
committed
fix PHP TypeError: Cannot increment EGroupware\Api\DateTime
1 parent 5504585 commit 08af1b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

calendar/inc/class.calendar_zpush.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public static function meetingRequest($event)
382382
}
383383
if (($message->alldayevent = (int)calendar_bo::isWholeDay($event)))
384384
{
385-
++$message->endtime; // EGw all-day-events are 1 sec shorter!
385+
$message->endtime->add('1second'); // EGw all-day-events are 1 sec shorter!
386386
}
387387
// copying strings
388388
foreach(array(

0 commit comments

Comments
 (0)