Commit 0fa792bd authored by Gábor Hojtsy's avatar Gábor Hojtsy

#187075 by dvessel: do not compute a breadcrumb for the home page (regression)

parent 432f16d5
......@@ -1486,6 +1486,12 @@ function menu_get_active_trail() {
*/
function menu_get_active_breadcrumb() {
$breadcrumb = array();
// No breadcrumb for the front page.
if (drupal_is_front_page()) {
return $breadcrumb;
}
$item = menu_get_item();
if ($item && $item['access']) {
$active_trail = menu_get_active_trail();
......
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