summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 06bed087a..1fe9cf0da 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -425,9 +425,11 @@ function menu_get_active_help() {
if ($temp = module_invoke($name, 'help', $path)) {
$output .= $temp . "\n";
}
- if (substr($path, 0, 6) == "admin/") {
- if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {
- $output .= theme("more_help_link", url('admin/help/' . substr($path, 6)));
+ if (module_hook('help', 'page')) {
+ if (substr($path, 0, 6) == "admin/") {
+ if (module_invoke($name, 'help', 'admin/help#' . substr($path, 6))) {
+ $output .= theme("more_help_link", url('admin/help/' . substr($path, 6)));
+ }
}
}
}