diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
| commit | 1257022fb3baa2ab6674437bb86422615f590160 (patch) | |
| tree | 1f5700e0b2aa4209aaf1e5931a03e2f559f9c3fe /app/controllers/profile.php | |
| parent | c8b6c7ae16126c1c918e4e78635f1e1b1b6ca627 (diff) | |
use objects instead of idstic-4946
Diffstat (limited to 'app/controllers/profile.php')
| -rw-r--r-- | app/controllers/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profile.php b/app/controllers/profile.php index b00c2b2..a656685 100644 --- a/app/controllers/profile.php +++ b/app/controllers/profile.php @@ -186,7 +186,7 @@ class ProfileController extends AuthenticatedController //since we have collected all public folders above already. $folder_file_refs = $one_public_folder->getFiles(); foreach ($folder_file_refs as $file_ref) { - if ($one_public_folder->isFileDownloadable($file_ref->id, $GLOBALS['user']->id)) { + if ($one_public_folder->isFileDownloadable($file_ref, $GLOBALS['user']->id)) { $public_files[$file_ref->id] = $file_ref; } } |
