diff --git a/app/views/settings/statusgruppen/index.php b/app/views/settings/statusgruppen/index.php
index bef23e0db3ad24eb58e5445845dd5a8fc28aa0b6..3e2e19ced4ef2927bd00ade21b304b9711b8fc62 100644
--- a/app/views/settings/statusgruppen/index.php
+++ b/app/views/settings/statusgruppen/index.php
@@ -8,7 +8,7 @@
             <h1><?= _('Zuordnungen zu Einrichtungen') ?></h1>
         </header>
         <? foreach ($institutes as $inst_id => $institute): ?>
-            <article class="<?= ContentBoxHelper::classes($inst_id) ?><? if (Request::get('type') == 'institute' && Request::get('open') == $role_id) : ?>open<? endif ?>">
+            <article class="<?= ContentBoxHelper::classes($inst_id) ?><? if (Request::get('type') === 'institute' && isset($role_id) && Request::get('open') === $role_id) : ?>open<? endif ?>">
                 <header>
                     <h1>
                         <a href="<?= ContentBoxHelper::href($inst_id) ?>">