diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-12-26 19:02:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-12-26 19:02:24 +0000 |
commit | 2a1e980cdd92e327c0b72a59608138ff51e76bb4 (patch) | |
tree | d167ef6f9a222e0c17df015b73429caf6c63bfe6 /modules/system/system.admin.inc | |
parent | 67d64ffc5309e906974e88072ed5e0171bd28009 (diff) | |
download | brdo-2a1e980cdd92e327c0b72a59608138ff51e76bb4.tar.gz brdo-2a1e980cdd92e327c0b72a59608138ff51e76bb4.tar.bz2 |
- Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index cd73adac6..52d5c85cc 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -72,9 +72,12 @@ function system_main_admin_page($arg = NULL) { */ function system_admin_menu_block_page() { $item = menu_get_item(); - $content = system_admin_menu_block($item); - - $output = theme('admin_block_content', $content); + if ($content = system_admin_menu_block($item)) { + $output = theme('admin_block_content', $content); + } + else { + $output = t('You do not have any administrative items.'); + } return $output; } |