Skip to content

Commit

Permalink
Fix creating events with old (< unix time) lastoccurence
Browse files Browse the repository at this point in the history
Closes #20804

Signed-off-by: Thomas Citharel <[email protected]>
  • Loading branch information
tcitworld committed Jun 22, 2023
1 parent 7fa941e commit f736485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/CalDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -2814,7 +2814,7 @@ public function getDenormalizedData($calendarData) {
'size' => strlen($calendarData),
'componentType' => $componentType,
'firstOccurence' => is_null($firstOccurrence) ? null : max(0, $firstOccurrence),
'lastOccurence' => $lastOccurrence,
'lastOccurence' => is_null($lastOccurrence) ? null : max(0, $lastOccurrence),
'uid' => $uid,
'classification' => $classification
];
Expand Down

0 comments on commit f736485

Please sign in to comment.