From af12bfa98cca977143421e11212f1db93bba3c77 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 07:06:37 +0000 Subject: [PATCH] Fix construct_breadcrumb() --- includes/node.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/node.php b/includes/node.php index 2c815b9..f8d6146 100644 --- a/includes/node.php +++ b/includes/node.php @@ -239,14 +239,13 @@ class Node_Controller function construct_breadcrumb() { $html = '/ '; - $itembit = '/'; $temp = preg_split('#/#', $this->fullpath, -1, PREG_SPLIT_NO_EMPTY); $count = sizeof($temp) - 1; foreach ($temp AS $val => $item) { - $itembit .= $item; + $itembit = $item; $itembit .= (($count != $val OR $this->cachev->isdir($itembit)) ? '/' : ''); $html .= '' . $item . ''. ($count != $val ? ' / ' : ''); } -- 2.22.5