#103391 follow up patch by bdragon: fix E_NOTICE by checking if href is set
parent
8836d94ecd
commit
40ac96eb94
|
@ -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 .'">';
|
||||
|
|
Loading…
Reference in New Issue