Skip to content
Snippets Groups Projects
Commit aaf78f10 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix missing argument, fixes #2300

Closes #2300

Merge request studip/studip!2032
parent 98e15cec
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.
Finish editing this message first!
Please register or to comment