diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 9250522e4..111593e5a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1119,7 +1119,7 @@ function theme_links($links, $attributes = array('class' => 'links')) { if ($i == $num_links) { $class .= ' last'; } - if ($link['href'] == $_GET['q']) { + if (isset($link['href']) && $link['href'] == $_GET['q']) { $class .= ' active'; } $output .= '<li class="'. $class .'">'; |