[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686940: Patch against pkgindex.cgi, fixes internal webserver error



Package: debbugs
Severity: minor
Version 2.4.2~exp1

Hi,

attached to this mail you find a patch against pkgindex.cgi. The version in the package of the version named above is broken and let's apache2 react with an internal error.

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
--- a/cgi/pkgindex.cgi
+++ b/cgi/pkgindex.cgi
@@ -10,6 +10,7 @@ use Debbugs::CGI qw(:util :url :html);
 use Debbugs::Common qw(getmaintainers);
 use Debbugs::Bugs qw(count_bugs);
 use Debbugs::Status qw(:status);
+use Debbugs::Packages qw(getpkgsrc);
 
 nice(5);
 
@@ -103,7 +104,7 @@ if ($indexon eq "pkg") {
            } 
        } keys %count;
   }
-  %count = countbugs(function => sub {my %d=@_;
+  %count = count_bugs(function => sub {my %d=@_;
                           return map {
                             $pkgsrc->{$_} || $_
                           } splitpackages($d{"pkg"});

Attachment: pgpOIqE8M7Zo5.pgp
Description: Digitale PGP-Unterschrift


Reply to: