Commit c0498c3a authored by drumm's avatar drumm

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

parent 5372c236
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment