From a8a3aa33b73d21c50ce7aa202a6eff90a5ffc588 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 6 Feb 2011 19:16:47 +0100
Subject: [PATCH] make hierarchical breadcrumb consistent on search FS#2078

A search equivalent to a new ID so it should show up in the bread
crumbs.
---
 inc/template.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/inc/template.php b/inc/template.php
index 828f64c85..7ac3437fb 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -739,12 +739,6 @@ function tpl_youarehere($sep=' &raquo; '){
     $parts = explode(':', $ID);
     $count = count($parts);
 
-    if($GLOBALS['ACT'] == 'search')
-    {
-        $parts = array($conf['start']);
-        $count = 1;
-    }
-
     echo '<span class="bchead">'.$lang['youarehere'].': </span>';
 
     // always print the startpage
-- 
GitLab