Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3495006
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3495006
Commits
9396c867
Commit
9396c867
authored
16 years ago
by
Gábor Hojtsy
Browse files
Options
Downloads
Patches
Plain Diff
#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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/menu.inc
+4
-0
4 additions, 0 deletions
includes/menu.inc
with
4 additions
and
0 deletions
includes/menu.inc
+
4
−
0
View file @
9396c867
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment