diff --git a/module/report/view/blockreportlist.html.php b/module/report/view/blockreportlist.html.php index 37adba7b76..a2284e752a 100644 --- a/module/report/view/blockreportlist.html.php +++ b/module/report/view/blockreportlist.html.php @@ -9,7 +9,7 @@ $list .= '|'; list($label, $module, $method, $params) = explode('|', $list); $class = $label == $title ? ' active' : ''; - echo html::a($this->createLink($module, $method, $params), $label, '', "class='list-group-item $class'"); + if(common::hasPriv($module, $method)) echo html::a($this->createLink($module, $method, $params), $label, '', "class='list-group-item $class'"); } ?>