From: Steinar H. Gunderson <sesse@rietz> Date: Sun, 11 Mar 2007 02:18:12 +0000 (+0000) Subject: Fix silly bug that caused sections to always be printed as unknown. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fb2fdeb9ef55b7cab90ab1ca736446942a95c29c;p=bugscan.git Fix silly bug that caused sections to always be printed as unknown. --- diff --git a/bugreport b/bugreport index e176dfa..123a5b0 100755 --- 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 '') {