Skip to content
Snippets Groups Projects
Commit b3399e96 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4041

Closes #4041

Merge request studip/studip!2895
parent ceeff330
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,7 @@ class BlubberThread extends SimpleORMap implements PrivacyObject
if (
isset($nav)
&& $nav->isVisible(true)
&& count($module->getTabNavigation($this['context_id'])) > 0
&& $module->getTabNavigation($this['context_id'])
&& $GLOBALS['perm']->have_studip_perm($tool->getVisibilityPermission(), $this['context_id'])
) {
$icons[] = $nav;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment