summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index ea55154f6..8fe204910 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1103,7 +1103,7 @@ function theme_links($links, $attributes = array('class' => 'links')) {
if ($i == $num_links) {
$class .= ' last';
}
- if (isset($link['href']) && $link['href'] == $_GET['q']) {
+ if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '<front>' && drupal_is_front_page()))) {
$class .= ' active';
}
$output .= '<li class="'. $class .'">';