aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 16:55:31 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-15 19:19:41 +0200
commit35969bfaaaa6d933cbf14dc50cdc8128da8d2982 (patch)
treea344fb57aa77cfb47726374e310f1ddcdc5c9ea6 /apps/dav/lib
parent77de180faa98d2c8c945c7c3ddbd0d0159ff9bea (diff)
downloadnextcloud-server-35969bfaaaa6d933cbf14dc50cdc8128da8d2982.tar.gz
nextcloud-server-35969bfaaaa6d933cbf14dc50cdc8128da8d2982.zip
fix(filesreport): cast fileId to integerfix/filesreport-cast-fileId-to-int
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesReportPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php
index 52e84145b17..581adfa4184 100644
--- a/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesReportPlugin.php
@@ -410,7 +410,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);
}