diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-08 05:14:03 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-08 05:14:03 +0000 |
commit | 3ff482d390fbfc79d536dccc29c93e473978ea4e (patch) | |
tree | c459f95fcccc141de2e99458eb31cf7ccf34564b /includes | |
parent | 307b9493da770dfb80f47288c193ce4fa4d4dbe3 (diff) | |
download | brdo-3ff482d390fbfc79d536dccc29c93e473978ea4e.tar.gz brdo-3ff482d390fbfc79d536dccc29c93e473978ea4e.tar.bz2 |
#678628 by bdragon and matt2000: Fixed 'More help' links missing from interface.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 38168bcc7..361b8dc19 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1493,11 +1493,12 @@ function menu_get_active_help() { // Lookup help for this path. if ($help = $function($router_path, $arg)) { $output .= $help . "\n"; - } - // Add "more help" link on admin pages if the module provides a - // standalone help page. - if ($arg[0] == "admin" && user_access('access administration pages') && module_exists('help') && $function('admin/help#' . $arg[2], $empty_arg) && $help) { - $output .= theme("more_help_link", array('url' => url('admin/help/' . $arg[2]))); + + // Add "more help" link on admin pages if the module provides a + // standalone help page. + if ($arg[0] == "admin" && user_access('access administration pages') && module_exists('help') && $function('admin/help#' . $module, $empty_arg)) { + $output .= theme("more_help_link", array('url' => url('admin/help/' . $module))); + } } } return $output; |