diff options
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; } } |
