Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c0498c3a
Commit
c0498c3a
authored
Sep 06, 2006
by
drumm
Browse files
#78129
by Harry Slaughter. Fix up the breadcrumb home link.
parent
5372c236
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/menu.inc
View file @
c0498c3a
...
...
@@ -534,7 +534,10 @@ function menu_get_active_breadcrumb() {
return
array
();
}
$links
[]
=
l
(
t
(
'Home'
),
variable_get
(
'site_frontpage'
,
'node'
));
// We do *not* want to use "variable_get('site_frontpage', 'node)" here
// as that will create the link '/node'. This is unsightly and creates
// a second URL for the hompeage ('/' *and* '/node').
$links
[]
=
l
(
t
(
'Home'
),
''
);
$trail
=
_menu_get_active_trail
();
foreach
(
$trail
as
$mid
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment