summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index e582e67b5..980fc744c 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -855,6 +855,12 @@ function tpl_youarehere($sep=' » '){
$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