Proper checking for a variable existing.

5.x
Neil Drumm 2006-11-29 20:39:37 +00:00
parent 1ce403df10
commit 213b0cd7a5
1 changed files with 1 additions and 1 deletions

View File

@ -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']) {