Skip to content
Snippets Groups Projects
Commit f6aec6e1 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

fix missing argument, fixes #2300

Closes #2300

Merge request studip/studip!2032
parent 6d2a9bd0
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment