diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-14 14:58:26 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-14 14:58:26 +0000 |
| commit | 769675071b44cff1f699396270b378d189ada866 (patch) | |
| tree | 06d8742d9001425605fbb703cacce14bf9af3ac4 /app/controllers/module | |
| parent | 7afb6da1c9bdbbad72ba1364daab18133dae8dae (diff) | |
fix most of the errors reported from phpstan in `app/controllers`, fixes #1328
Closes #1328
Merge request studip/studip!813
Diffstat (limited to 'app/controllers/module')
| -rw-r--r-- | app/controllers/module/module.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php index 29e8a21..cf7b6ac 100644 --- a/app/controllers/module/module.php +++ b/app/controllers/module/module.php @@ -1290,12 +1290,9 @@ class Module_ModuleController extends MVVController public function reset_filter_action() { - $this->filter = []; $this->reset_page(); - // current semester is set in index_action() - unset($this->filter['start_sem.beginn']); - unset($this->filter['end_sem.ende']); - $this->sessSet('filter', $this->filter); + + $this->sessSet('filter', []); $this->redirect($this->url_for('/index')); } |
