diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-14 11:57:24 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-14 11:57:24 +0100 |
| commit | c8b6c7ae16126c1c918e4e78635f1e1b1b6ca627 (patch) | |
| tree | f991bba9823002edfd7280821fadd162a487fc18 /app/controllers | |
| parent | ebcaaecdd9ee78567052e1423e35b846bef32eb1 (diff) | |
adjust new folder types and correct file ref id usage of isFile... methods (some method were given an actual file ref object instead of an id as the interface enforces)
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/files_dashboard/helpers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/files_dashboard/helpers.php b/app/controllers/files_dashboard/helpers.php index d86fc9f..4489e04 100644 --- a/app/controllers/files_dashboard/helpers.php +++ b/app/controllers/files_dashboard/helpers.php @@ -61,7 +61,7 @@ trait Helpers ); } - if ($folder->isFileDownloadable($fileRef, $user->id)) { + if ($folder->isFileDownloadable($fileRef->id, $user->id)) { $actionMenu->addLink( URLHelper::getURL('dispatch.php/file/choose_destination/copy/'.$fileRef->id), _('Datei kopieren'), |
