diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-17 17:16:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-17 17:16:56 +0000 |
commit | ad1c9e69d8848b446941adededd0d86749e9e82f (patch) | |
tree | 61716349004dd174ad53ad583098ece9da65a16a /includes | |
parent | 6cee2bc5e0fdedc403c4c5681727d1ab1cdb5a48 (diff) | |
download | brdo-ad1c9e69d8848b446941adededd0d86749e9e82f.tar.gz brdo-ad1c9e69d8848b446941adededd0d86749e9e82f.tar.bz2 |
- Patch #97907 by webchick: restore 'more help' links.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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))); } } } |