diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-15 16:55:31 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-09-15 19:19:41 +0200 |
commit | 35969bfaaaa6d933cbf14dc50cdc8128da8d2982 (patch) | |
tree | a344fb57aa77cfb47726374e310f1ddcdc5c9ea6 /apps/dav/lib | |
parent | 77de180faa98d2c8c945c7c3ddbd0d0159ff9bea (diff) | |
download | nextcloud-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.php | 2 |
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); } |