Commit 94fd7a5d authored by Nathan Haug's avatar Nathan Haug
Browse files

#266218. Removing url-based title from display if no title is entered.

parent 176a296f
......@@ -578,7 +578,7 @@ function theme_link_formatter_separate($element) {
$output = '';
$output .= '<div class="link-item '. $class .'">';
$output .= '<div class="link-title">'. $element['#item']['display_title'] .'</div>';
$output .= '<div class="link-title">'. (empty($element['#item']['title']) ? '' : $element['#item']['display_title']) .'</div>';
$output .= '<div class="link-url">'. l($element['#item']['display_url'], $element['#item']['url'], $element['#item']) .'</div>';
$output .= '</div>';
return $output;
......
Supports Markdown
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