#78129 by Harry Slaughter. Fix up the breadcrumb home link.
parent
5372c236bc
commit
c0498c3aaf
|
@ -534,7 +534,10 @@ function menu_get_active_breadcrumb() {
|
||||||
return array();
|
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();
|
$trail = _menu_get_active_trail();
|
||||||
foreach ($trail as $mid) {
|
foreach ($trail as $mid) {
|
||||||
|
|
Loading…
Reference in New Issue