Commit 020e04c5 authored by webchick's avatar webchick

#646762 by bleen18: Fixed bug where Blocks with no title were unusable in dashboard.

parent 7d4f8c7a
......@@ -460,8 +460,8 @@ function theme_dashboard_disabled_block($variables) {
if (isset($block)) {
$output .= '<div id="block-' . $block['module'] . '-' . $block['delta']
. '" class="disabled-block block block-' . $block['module'] . '-' . $block['delta']
. ' module-'.$block['module'].' delta-'.$block['delta'].'">'
. '<h2>'.(!empty($block['title']) ? $block['title'] : $block['info']).'</h2>'
. ' module-' . $block['module'] . ' delta-' . $block['delta'] . '">'
. '<h2>' . (!empty($block['title']) && $block['title'] != '<none>' ? $block['title'] : $block['info']) . '</h2>'
. '<div class="content"></div>'
. '</div>';
}
......
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