From c49da2186aaf1e572f0e01b469d55eb3324acc85 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Sun, 15 Sep 2024 16:55:31 +0200 Subject: [PATCH] fix(filesreport): cast fileId to integer Signed-off-by: Anna Larch --- apps/dav/lib/Connector/Sabre/FilesReportPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php index 6a8cb3f0f59..ccb6d91ffef 100644 --- a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php @@ -430,7 +430,7 @@ class FilesReportPlugin extends ServerPlugin { $results = []; foreach ($fileIds as $fileId) { - $entry = $folder->getFirstNodeById($fileId); + $entry = $folder->getFirstNodeById((int)$fileId); if ($entry) { $results[] = $this->wrapNode($entry); } -- 2.39.5