From aaf78f10bde53fbed438501d7c4566f8d4225727 Mon Sep 17 00:00:00 2001 From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> Date: Fri, 11 Aug 2023 21:59:14 +0000 Subject: [PATCH] fix missing argument, fixes #2300 Closes #2300 Merge request studip/studip!2032 --- app/controllers/files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/files.php b/app/controllers/files.php index 46a67e611b2..3c77f4e50d7 100644 --- a/app/controllers/files.php +++ b/app/controllers/files.php @@ -519,8 +519,8 @@ class FilesController extends AuthenticatedController $this->addFiltersToOverviewSidebar(['time_range', 'course']); $this->table_title = _('Meine hochgeladenen Dateien'); - $file_refs = FileRef::findUploadedFiles($GLOBALS['user']->id, $this->begin, $this->end, $this->course_id, $this->page_size, $offset); - $this->files_c = FileRef::countUploadedFiles($GLOBALS['user']->id, $this->begin, $this->end, $this->course_id); + $file_refs = FileRef::findUploadedFiles($GLOBALS['user']->id, $this->begin, $this->end, $this->course_id, false, $this->page_size, $offset); + $this->files_c = FileRef::countUploadedFiles($GLOBALS['user']->id, $this->begin, $this->end, $this->course_id, false); $pagination = Pagination::create( $this->files_c, $this->page - 1, -- GitLab