diff options
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 0e208786b..49f13a06c 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -176,7 +176,7 @@ function menu_get_active_breadcrumb() { $links[] = l(t('Home'), ''); - $trail = menu_get_trail($_GET['q']); + $trail = menu_get_trail(drupal_get_path_alias($_GET['q'])); // The last item in the trail is the page title; don't display it here. array_pop($trail); @@ -249,7 +249,7 @@ function menu_in_active_trail($mid) { static $trail; if (empty($trail)) { - $trail = menu_get_trail($_GET['q']); + $trail = menu_get_trail(drupal_get_path_alias($_GET['q'])); } return in_array($mid, $trail); |