diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 06:02:52 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 06:02:52 +0000 |
commit | 4610499856e854ad9c9fcb4fa01081d952a2fa5f (patch) | |
tree | 8f00a9370cf7aea47855c506b1043eefdbbcfd94 /includes | |
parent | 3fa1e2b6f74f5e32f4a4e7c2fb2965f4eea66433 (diff) | |
download | brdo-4610499856e854ad9c9fcb4fa01081d952a2fa5f.tar.gz brdo-4610499856e854ad9c9fcb4fa01081d952a2fa5f.tar.bz2 |
#101203: Fix 'more help' appearing when there is none.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index eff3f9a54..63f523890 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -518,8 +518,8 @@ function menu_get_active_help() { } if (module_hook('help', 'page')) { if (arg(0) == "admin") { - if (module_invoke($name, 'help', 'admin/help#' . arg(2))) { - $output .= theme("more_help_link", url('admin/help/' . arg(2))); + if (module_invoke($name, 'help', 'admin/help#'. arg(2)) && !empty($output)) { + $output .= theme("more_help_link", url('admin/help/'. arg(2))); } } } |