aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/module/module.php
diff options
context:
space:
mode:
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 7b862d4..cbcba00 100644
--- a/app/controllers/module/module.php
+++ b/app/controllers/module/module.php
@@ -1335,7 +1335,7 @@ class Module_ModuleController extends MVVController
$this->reset_page();
// responsible Institutes
$this->filter['mvv_modul_inst.gruppe'] = 'hauptverantwortlich';
- if (!$this->filter['mvv_modul_inst.institut_id']) {
+ if (empty($this->filter['mvv_modul_inst.institut_id'])) {
// only institutes the user has an assigned MVV role
$this->filter['mvv_modul_inst.institut_id'] = MvvPerm::getOwnInstitutes();
}