From c0498c3aaf3506c68188c7a3951d370701da03b7 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 6 Sep 2006 08:32:51 +0000 Subject: #78129 by Harry Slaughter. Fix up the breadcrumb home link. --- includes/menu.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'includes/menu.inc') diff --git a/includes/menu.inc b/includes/menu.inc index b7bf2930f..ab35a3432 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -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) { -- cgit v1.2.3