diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-06 08:32:51 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-06 08:32:51 +0000 |
commit | c0498c3aaf3506c68188c7a3951d370701da03b7 (patch) | |
tree | 1eb4ec7ef51068731c613243d5882b7d30ab651c /includes/menu.inc | |
parent | 5372c236bc0edaaf4c726c9b6e75216e2bc00476 (diff) | |
download | brdo-c0498c3aaf3506c68188c7a3951d370701da03b7.tar.gz brdo-c0498c3aaf3506c68188c7a3951d370701da03b7.tar.bz2 |
#78129 by Harry Slaughter. Fix up the breadcrumb home link.
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |