diff --git a/module/common/model.php b/module/common/model.php index 4ae21a7168..b5b31f444a 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -374,7 +374,7 @@ class commonModel extends model { /* Is the currentModule active? */ if($currentModule == $subModule and $float != 'right') $active = 'active'; - if($module == $currentModule and ($method == $currentMethod or in_array($currentMethod, explode(',', $alias))) and $float != 'right') $active = 'active'; + if($module == $currentModule and ($method == $currentMethod or strpos(",$alias,", ",$currentMethod,") !== false) and $float != 'right') $active = 'active'; echo "