diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-08-20 06:44:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-08-20 06:44:02 +0000 |
commit | d48660c52419cba2d46d7f63831970bed2e1b84b (patch) | |
tree | 749d91650258d4060e4010023e358545c777df36 /includes | |
parent | 594fa666afd11a334df9bae44c7709fa0db0b600 (diff) | |
download | brdo-d48660c52419cba2d46d7f63831970bed2e1b84b.tar.gz brdo-d48660c52419cba2d46d7f63831970bed2e1b84b.tar.bz2 |
- Patch #166719 by pwoladin: help system fix.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index d45054c57..8f9786d3a 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -955,7 +955,7 @@ function menu_get_active_help() { } // Add "more help" link on admin pages if the module provides a // standalone help page. - if (module_hook('help', 'page') && $arg[0] == "admin" && module_invoke($name, 'help', 'admin/help#'. $arg[2], $empty_arg) && $help) { + if ($arg[0] == "admin" && module_exists('help') && module_invoke($name, 'help', 'admin/help#'. $arg[2], $empty_arg) && $help) { $output .= theme("more_help_link", url('admin/help/'. $arg[2])); } } |