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 Apr 1, 2022
1 parent 5f2afad commit 2768d55
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 @@ -2861,7 +2861,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 2768d55

Please sign in to comment.