diff --git a/module/custom/view/sidebar.html.php b/module/custom/view/sidebar.html.php index 0dc0568b74..5a254f844b 100644 --- a/module/custom/view/sidebar.html.php +++ b/module/custom/view/sidebar.html.php @@ -14,6 +14,13 @@ $active = (isset($field) and $field == $key) ? 'active' : $active; } + if($module == 'approvalflow' and in_array($key, array('project', 'workflow'))) + { + $method = 'browse'; + $params = "type=$key"; + $active = (isset($type) and $type == $key) ? 'active' : $active; + } + if(common::hasPriv('custom', $method)) echo html::a(inlink($method, $params), $value, '', "class='$active'"); } ?>