summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc9
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;
}