From cd943d074b60040a1e7e0afb1ef5684cf2d5e706 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 22:35:56 +0000 Subject: [PATCH] Change build() to change an empty node name with / --- includes/cachev.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/cachev.php b/includes/cachev.php index ebb716e..7215739 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -351,6 +351,7 @@ class cacheV } $path = str_replace($this->controller->repospath, '', $node['url']['value']); + $path = ($path == '' ? '/' : $path); $inserts['nodes'][] = "('$path', '" . $node['kind'] . "', " . $node['commit']['revision'] . ", '" . $this->controller->registry->escape(serialize($loglist)) . "', '" . $this->controller->registry->escape(serialize($proplist["$path"])) . "')"; } -- 2.22.5