diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-07 13:51:48 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-07 13:51:48 +0000 |
| commit | 08d02aa1fe9bd0d1e7862137b7f1ff98dcbf66d2 (patch) | |
| tree | 33aa5b78494d91d9ea2839b47cf65da3148984f3 /app/controllers/module/module.php | |
| parent | 95d79f130e55a68649f603df38a2b895c59d23ab (diff) | |
fixes #4128
Closes #4128
Merge request studip/studip!2971
Diffstat (limited to 'app/controllers/module/module.php')
| -rw-r--r-- | app/controllers/module/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/module/module.php b/app/controllers/module/module.php index 2f6ba4c..e57156f 100644 --- a/app/controllers/module/module.php +++ b/app/controllers/module/module.php @@ -53,7 +53,7 @@ class Module_ModuleController extends MVVController if (count($search_result) > 0) { $module_ids = $search_result; } else { - if ($_SESSION['mvv_filter_module_fach_id']) { + if (!empty($_SESSION['mvv_filter_module_fach_id'])) { $module_ids = $this->findModuleIdsByFach($_SESSION['mvv_filter_module_fach_id']); } if (!empty($_SESSION['mvv_filter_module_abschluss_id'])) { |
