]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-07-10 03:50:48 by doogie]
authordoogie <>
Wed, 10 Jul 2002 10:50:48 +0000 (02:50 -0800)
committerdoogie <>
Wed, 10 Jul 2002 10:50:48 +0000 (02:50 -0800)
When making a link to the source package, do it with the source of the
package, not the package itself.

cgi/pkgreport.cgi

index d2d933994fe39486a32ba9a657010ace5c976a5b..58f83751db8aa3365db6beab1fbbab327bec10bf 100755 (executable)
@@ -194,7 +194,7 @@ if (defined $pkg || defined $src) {
        my $stupidperl = ${debbugs::gPackagePages};
        printf "<p>You might like to refer to the <a href=\"%s\">%s package page</a>", urlsanit("http://${debbugs::gPackagePages}/$pkg"), htmlsanit("$pkg");
        if ($pkgsrc{ $pkg }) {
-           printf ", or to the source package <a href=\"%s\">%s</a>'s bug page.</p>\n", srcurl($pkg), htmlsanit($pkgsrc{$pkg});
+           printf ", or to the source package <a href=\"%s\">%s</a>'s bug page.</p>\n", srcurl($pkgsrc{$pkg}), htmlsanit($pkgsrc{$pkg});
        } else {
            printf ".\n";
        }