diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-12 22:54:35 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-12 22:54:35 +0000 |
commit | 39821e50b3b5791c9e5f67b49cf0d0542b98771d (patch) | |
tree | 3f753d5036fd9b485e45df1a8554e711ecd392d2 /modules/system | |
parent | e2c4af8184e3ba33bc89407e579a53ffa2a718f3 (diff) | |
download | brdo-39821e50b3b5791c9e5f67b49cf0d0542b98771d.tar.gz brdo-39821e50b3b5791c9e5f67b49cf0d0542b98771d.tar.bz2 |
#682766 by Dave Reid: Fixed Admin category block titles not linked on /admin page.
Diffstat (limited to 'modules/system')
-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)); } } |