diff --git a/lib/models/BlubberThread.php b/lib/models/BlubberThread.php index cccaa3de92893845c699ccea41d92052a53b1755..0be5cd2676ac9728f3253bebe3c28ff7cde76520 100644 --- a/lib/models/BlubberThread.php +++ b/lib/models/BlubberThread.php @@ -459,7 +459,7 @@ class BlubberThread extends SimpleORMap implements PrivacyObject if ($module = $tool->getStudipModule()) { $last_visit = object_get_visit($this['context_id'], $module->getPluginId()); $nav = $module->getIconNavigation($this['context_id'], $last_visit, $GLOBALS['user']->id); - if ($nav) { + if (isset($nav) && $nav->isVisible(true)) { $icons[] = $nav; } if ($module instanceof CoreSchedule) {