Commit 213b0cd7 authored by drumm's avatar drumm
Browse files

Proper checking for a variable existing.

parent 1ce403df
......@@ -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']) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment