diff options
author | Anna <anna@nextcloud.com> | 2024-09-16 11:07:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 11:07:22 +0200 |
commit | 04997dfc5397ae84b9657626299a9bb7a4c34bf7 (patch) | |
tree | 5f852dbe64c8412692e25ab33cc9d8942c83aa7f /apps/dav | |
parent | 868008205e6adbbf8e68a4029d11b842e0ed61d8 (diff) | |
parent | 35969bfaaaa6d933cbf14dc50cdc8128da8d2982 (diff) | |
download | nextcloud-server-04997dfc5397ae84b9657626299a9bb7a4c34bf7.tar.gz nextcloud-server-04997dfc5397ae84b9657626299a9bb7a4c34bf7.zip |
Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-int
fix(filesreport): cast fileId to integer
Diffstat (limited to 'apps/dav')
-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); } |