From a5d4fec66d9d3eed61fce1e2a9a07179c7510e30 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Mon, 11 Dec 2006 17:30:36 +0000 Subject: [PATCH] #78129, Breadcrumb home link points to example.com/node, backport from HEAD --- includes/menu.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/menu.inc b/includes/menu.inc index 5fc6d139d7b..eb3525b0da7 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 homepage ('/' *and* '/node'). + $links[] = l(t('Home'), ''); $trail = _menu_get_active_trail(); foreach ($trail as $mid) {