summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-29 20:39:37 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-29 20:39:37 +0000
commit213b0cd7a503a431d0a1bd78b00065f5508de345 (patch)
tree0435137b9169facba1c4c959eefdde68a955a205
parent1ce403df10a6c319a35a01a09d78cda32450dfae (diff)
downloadbrdo-213b0cd7a503a431d0a1bd78b00065f5508de345.tar.gz
brdo-213b0cd7a503a431d0a1bd78b00065f5508de345.tar.bz2
Proper checking for a variable existing.
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
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']) {