mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-int
fix(filesreport): cast fileId to integer
This commit is contained in:
commit
04997dfc53
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue