aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/files_dashboard/helpers.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/files_dashboard/helpers.php')
-rw-r--r--app/controllers/files_dashboard/helpers.php2
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'),