mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
32866bc7ee
commit
ff49395e46
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