aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/files.php
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-08-11 21:59:14 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-08-11 21:59:14 +0000
commitaaf78f10bde53fbed438501d7c4566f8d4225727 (patch)
treec3ffcf0c91796d0ad2c8ceb791f6a62785345cd1 /app/controllers/files.php
parent98e15cecf15155a03508de47be7ae35766289c05 (diff)
fix missing argument, fixes #2300
Closes #2300 Merge request studip/studip!2032
Diffstat (limited to 'app/controllers/files.php')
-rw-r--r--app/controllers/files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/files.php b/app/controllers/files.php
index 46a67e6..3c77f4e 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,