]> git.donarmstrong.com Git - bugscan.git/commitdiff
Fix silly bug that caused sections to always be printed as unknown.
authorSteinar H. Gunderson <sesse@rietz>
Sun, 11 Mar 2007 02:18:12 +0000 (02:18 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Sun, 11 Mar 2007 02:18:12 +0000 (02:18 +0000)
bugreport

index e176dfaa7e63062005139e539a2581bb8f274f1f..123a5b067d11cda1bef1c40b27c42d06eb10daff 100755 (executable)
--- a/bugreport
+++ b/bugreport
@@ -43,9 +43,9 @@ sub PrintPackageHeader() {
                print "<div class=\"package\"><pre>";
                print "<a name=\"$p\"><strong>Package:</strong></a> " . scanlib::wwwname($p);
                if (defined($scanlib::section{$p})) {
-                       print " (unknown).\n";
-               } else {
                        print " ($scanlib::section{$p}).\n";
+               } else {
+                       print " (unknown).\n";
                }
                print "<strong>Maintainer:</strong> ";
                if (exists($scanlib::maintainer{$p}) && $scanlib::maintainer{$p} ne '') {