SVN: toys/stbr/index.php

shadzik shadzik at pld-linux.org
Sat Oct 31 05:34:41 CET 2009


Author: shadzik
Date: Sat Oct 31 05:34:40 2009
New Revision: 10913

Modified:
   toys/stbr/index.php
Log:
- also fixed bug where package couldn't have a dot in it's name


Modified: toys/stbr/index.php
==============================================================================
--- toys/stbr/index.php	(original)
+++ toys/stbr/index.php	Sat Oct 31 05:34:40 2009
@@ -431,7 +431,10 @@
 <td class="line"><?=$q['line']?></td>
 <?
 	$pkg = explode(".", $q['aspec']);
-	$pkg = $pkg[0];
+	if(count($pkg)==3)
+		$pkg = $pkg[0].".".$pkg[1];
+	else
+		$pkg = $pkg[0];
 ?>
 <td class="spec"><a href="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/<?=$pkg?>/<?=$q['aspec']?>?f=u&amp;only_with_tag=<?=$q['abranch']?>&amp;logsort=date"><?=$q['aspec']?></a>:<?=$q['abranch']?></td>
 <td class="recip"><a class="mailto"><?=$q['arecipient']?></a></td>


More information about the pld-cvs-commit mailing list