]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-10-27 00:10:18 by joy]
authorjoy <>
Sun, 27 Oct 2002 07:10:18 +0000 (23:10 -0800)
committerjoy <>
Sun, 27 Oct 2002 07:10:18 +0000 (23:10 -0800)
no point in linking to (unknown)

cgi/bugreport.cgi

index 18cf859b2db6aa3ddfff649e3361168082f73681..b99decb150a5c9e9ee3dc79162995ff2c8d670c3 100755 (executable)
@@ -102,7 +102,7 @@ $tsrc = defined($pkgsrc{$tpack}) ? $pkgsrc{$tpack} : '(unknown)';
 $descriptivehead= $indexentry."Maintainer for $status{package} is\n".
             '<a href="http://'.$debbugs::gWebDomain.'/db/ma/l'.&maintencoded($tmaint).'.html">'.htmlsanit($tmaint).'</a>';
 $descriptivehead.= ";\nSource for $status{package} is\n".
-           '<a href="'.srcurl($tsrc)."\">$tsrc</a>";
+           '<a href="'.srcurl($tsrc)."\">$tsrc</a>" if ($tsrc ne "(unknown)");
 $descriptivehead.= ".</p>";
 
 my $buglog = buglog($ref);