summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)));
}
}
}