From ad1c9e69d8848b446941adededd0d86749e9e82f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 17 Nov 2006 17:16:56 +0000 Subject: - Patch #97907 by webchick: restore 'more help' links. --- includes/menu.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/menu.inc b/includes/menu.inc index 7510599e4..a89c0e92a 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -517,9 +517,9 @@ function menu_get_active_help() { $output .= $temp . "\n"; } 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))); + if (arg(0) == "admin") { + if (module_invoke($name, 'help', 'admin/help#' . arg(2))) { + $output .= theme("more_help_link", url('admin/help/' . arg(2))); } } } -- cgit v1.2.3