aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/module/module.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-07 13:51:48 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-05-07 13:51:48 +0000
commit08d02aa1fe9bd0d1e7862137b7f1ff98dcbf66d2 (patch)
tree33aa5b78494d91d9ea2839b47cf65da3148984f3 /app/controllers/module/module.php
parent95d79f130e55a68649f603df38a2b895c59d23ab (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.php2
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'])) {