From 213b0cd7a503a431d0a1bd78b00065f5508de345 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 29 Nov 2006 20:39:37 +0000 Subject: Proper checking for a variable existing. --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index d27486f6e..d6f282ff6 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -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']) { -- cgit v1.2.3