diff options
-rw-r--r-- | modules/system/system.admin.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index bcadbe790..c478e0465 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -50,12 +50,8 @@ function system_main_admin_page($arg = NULL) { // Only show blocks for items which are not containers, or those which // are containers and do have items we can show. $block['show'] = TRUE; - if (empty($content)) { - // If no items found below, but access checks did not fail, show. - $block['title'] = l($item['title'], $item['href'], $item['localized_options']); - } - else { - // Theme items below. + $block['title'] = l($item['title'], $item['href'], $item['localized_options']); + if (!empty($content)) { $block['content'] .= theme('admin_block_content', array('content' => $content)); } } |