Commit 46104998 authored by Steven Wittens's avatar Steven Wittens

#101203: Fix 'more help' appearing when there is none.

parent 3fa1e2b6
......@@ -518,8 +518,8 @@ function menu_get_active_help() {
}
if (module_hook('help', 'page')) {
if (arg(0) == "admin") {
if (module_invoke($name, 'help', 'admin/help#' . arg(2))) {
$output .= theme("more_help_link", url('admin/help/' . arg(2)));
if (module_invoke($name, 'help', 'admin/help#'. arg(2)) && !empty($output)) {
$output .= theme("more_help_link", url('admin/help/'. arg(2)));
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment