summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-12-12 06:02:52 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-12-12 06:02:52 +0000
commit4610499856e854ad9c9fcb4fa01081d952a2fa5f (patch)
tree8f00a9370cf7aea47855c506b1043eefdbbcfd94 /includes
parent3fa1e2b6f74f5e32f4a4e7c2fb2965f4eea66433 (diff)
downloadbrdo-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.inc4
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)));
}
}
}