summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:21:43 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:21:43 +0000
commit020e04c505d5474f3a53c4564f970ea11bee1b07 (patch)
tree72941579ccf0daa9129f1023241e0155d732cb74
parent7d4f8c7ac6f596324dd8f35791df33aa3d9c532b (diff)
downloadbrdo-020e04c505d5474f3a53c4564f970ea11bee1b07.tar.gz
brdo-020e04c505d5474f3a53c4564f970ea11bee1b07.tar.bz2
#646762 by bleen18: Fixed bug where Blocks with no title were unusable in dashboard.
-rw-r--r--modules/dashboard/dashboard.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module
index 62325edf1..415fa9810 100644
--- a/modules/dashboard/dashboard.module
+++ b/modules/dashboard/dashboard.module
@@ -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>';
}