Proper checking for a variable existing.
parent
1ce403df10
commit
213b0cd7a5
|
@ -544,7 +544,7 @@ function theme_links($links, $attributes = array('class' => 'links')) {
|
|||
$link['query'] = isset($link['query']) ? $link['query'] : NULL;
|
||||
$link['fragment'] = isset($link['fragment']) ? $link['fragment'] : NULL;
|
||||
|
||||
if ($link['href']) {
|
||||
if (isset($link['href'])) {
|
||||
$output .= l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment'], FALSE, $html);
|
||||
}
|
||||
else if ($link['title']) {
|
||||
|
|
Loading…
Reference in New Issue