Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/dav/lib/CalDAV/CalDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* @author Thomas Citharel <[email protected]>
* @author Thomas Müller <[email protected]>
* @author Vinicius Cubas Brand <[email protected]>
* @author Simon Spannagel <[email protected]>
*
* @license AGPL-3.0
*
Expand Down Expand Up @@ -1312,7 +1313,7 @@ public function calendarQuery($id, array $filters, $calendarType=self::CALENDAR_
$requirePostFilter = false;
}
// There was a time-range filter
if ($componentType === 'VEVENT' && isset($filters['comp-filters'][0]['time-range'])) {
if ($componentType === 'VEVENT' && isset($filters['comp-filters'][0]['time-range']) && is_array($filters['comp-filters'][0]['time-range'])) {
$timeRange = $filters['comp-filters'][0]['time-range'];

// If start time OR the end time is not specified, we can do a
Expand Down