Skip to content

Commit

Permalink
Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-…
Browse files Browse the repository at this point in the history
…to-int

fix(filesreport): cast fileId to integer
  • Loading branch information
miaulalala authored Sep 16, 2024
2 parents 8680082 + 35969bf commit 04997df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/FilesReportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function findNodesByFileIds(Node $rootNode, array $fileIds): array {

$results = [];
foreach ($fileIds as $fileId) {
$entry = $folder->getFirstNodeById($fileId);
$entry = $folder->getFirstNodeById((int)$fileId);
if ($entry) {
$results[] = $this->wrapNode($entry);
}
Expand Down

0 comments on commit 04997df

Please sign in to comment.