diff --git a/modules/mod_menu/tmpl/default.php b/modules/mod_menu/tmpl/default.php index 1b07f916b7855..17c52b0d48c7a 100644 --- a/modules/mod_menu/tmpl/default.php +++ b/modules/mod_menu/tmpl/default.php @@ -28,8 +28,7 @@ $class .= ' default'; } - - if (($item->id == $active_id) || ($item->type == 'alias' && $item->params->get('aliasoptions') == $active_id)) + if ($item->id == $active_id || ($item->type == 'alias' && $item->params->get('aliasoptions') == $active_id)) { $class .= ' current'; }