Skip to content

Commit 76a0fb6

Browse files
authored
Merge pull request #55651 from nextcloud/fix-calendars-properties-cache
2 parents 9dfd6f1 + 22b90c2 commit 76a0fb6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/dav/lib/Db/PropertyMapper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public function findPropertyByPathAndName(string $userId, string $path, string $
4545
* @throws \OCP\DB\Exception
4646
*/
4747
public function findPropertiesByPathsAndUsers(array $calendars): array {
48+
if (empty($calendars)) {
49+
return [];
50+
}
4851
$selectQb = $this->db->getQueryBuilder();
4952
$selectQb->select('*')
5053
->from(self::TABLE_NAME);

0 commit comments

Comments
 (0)