We have to use viewsvn::paths::isdir() but we'll silence it
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:23:40 +0000 (22:23 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:23:40 +0000 (22:23 +0000)
includes/paths.php

index 5266736452dfeb3480ebcd50f171f2e6bbb763e3..2dbf7c2fe138691817aee977a2f4fbfeb35e1844 100644 (file)
@@ -152,7 +152,8 @@ class Paths
                
                foreach ($temp AS $val => $item)
                {
-                       $itembit .= $item . ($count != $val ? '/' : '');
+                       $itembit .= $item;
+                       $itembit .= (($count != $val OR @$viewsvn->svn->common->isdir($itembit)) ? '/' : '');
                        $html .= '<a href="' . $viewsvn->path . '/' . $this->out('browse.php' . $this->fetch_rev_str(), $itembit) . '">' . $item . '</a>'. ($count != $val ? ' / ' : '');
                }