Skip to content
Snippets Groups Projects
Commit 9396c867 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#268006 by pwolanin: Help from hook_help() was displayed on 403/404 pages.

parent c003a83a
No related branches found
No related tags found
No related merge requests found
......@@ -1159,6 +1159,10 @@ function drupal_help_arg($arg = array()) {
function menu_get_active_help() {
$output = '';
$router_path = menu_tab_root_path();
// We will always have a path unless we are on a 403 or 404.
if (!$router_path) {
return '';
}
$arg = drupal_help_arg(arg(NULL));
$empty_arg = drupal_help_arg();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment