diff --git a/lib/zin/wg/featurebar/v1.php b/lib/zin/wg/featurebar/v1.php index 60ed5c96db..4464676f4b 100644 --- a/lib/zin/wg/featurebar/v1.php +++ b/lib/zin/wg/featurebar/v1.php @@ -50,7 +50,7 @@ class featureBar extends wg $loadID = $this->prop('loadID'); $load = $this->prop('load'); $tab = $this->prop('app'); - $param = $this->prop('param'); + $param = $this->prop('param') ? $this->prop('param') : data('param'); $searchModule = $this->prop('searchModule'); $commonLink = $this->prop('link'); $itemLink = $this->prop('itemLink'); @@ -104,7 +104,7 @@ class featureBar extends wg $subItems[] = $subItem; - if($key === $current) + if($key === $current || ($current == 'bysearch' && $key == $param)) { $isActive = true; $activeText = $text;