#78129 by Harry Slaughter. Fix up the breadcrumb home link.

5.x
Neil Drumm 2006-09-06 08:32:51 +00:00
parent 5372c236bc
commit c0498c3aaf
1 changed files with 4 additions and 1 deletions

View File

@ -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) {