[Debtags-commits] [svn] r1459 - central-database/branches/alioth/webfrontend

Enrico Zini enrico at costa.debian.org
Mon Oct 31 18:49:48 UTC 2005


Author: enrico
Date: Mon Oct 31 18:49:47 2005
New Revision: 1459

Modified:
   central-database/branches/alioth/webfrontend/Navigation.pm
Log:
Even better paths

Modified: central-database/branches/alioth/webfrontend/Navigation.pm
==============================================================================
--- central-database/branches/alioth/webfrontend/Navigation.pm	(original)
+++ central-database/branches/alioth/webfrontend/Navigation.pm	Mon Oct 31 18:49:47 2005
@@ -81,6 +81,10 @@
 {
 	my @path = split('/', $_[0]);
 	my $part;
+	if (substr($_[0], 0, 1) eq '/')
+	{
+		shift @path;
+	}
 	for my $p (@path)
 	{
 		$part .= '/' if $part;



More information about the Debtags-commits mailing list