Fix PHP warning
This commit is contained in:
parent
24e2e1ce84
commit
d07938b662
1 changed files with 1 additions and 1 deletions
|
@ -1084,7 +1084,7 @@ class libcalendaring_vcalendar implements Iterator
|
|||
|
||||
// all-day events end the next day
|
||||
if (!empty($event['allday']) && !empty($event['end'])) {
|
||||
$event['end'] = clone $event['end'];
|
||||
$event['end'] = self::toDateTime($event['end']);
|
||||
$event['end']->add(new \DateInterval('P1D'));
|
||||
$event['end']->_dateonly = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue