]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/CGI/Pkgreport.pm
use maintainer instead of maint
[debbugs.git] / Debbugs / CGI / Pkgreport.pm
index 4391197c59a82eb0e44357831f7dc89df697cd72..b7bd6a94974561a7a56553ed7ce0f475afa3e59d 100644 (file)
@@ -103,7 +103,7 @@ sub generate_package_info{
          print {$output} '<p>';
          print {$output} (($maint =~ /,/)? "Maintainer for $showpkg is "
                           : "Maintainers for $showpkg are ") .
-                               package_links(maint => $maint);
+                               package_links(maintainer => $maint);
          print {$output} ".</p>\n";
      }
      else {
@@ -350,12 +350,14 @@ sub pkg_htmlizebugs {
          push @{$exclude{$key}}, split /\s*,\s*/, $value;
      }
 
+     my $binary_to_source_cache = {};
      foreach my $bug (@bugs) {
          my %status = %{get_bug_status(bug=>$bug,
                                        (exists $param{dist}?(dist => $param{dist}):()),
                                        bugusertags => $param{bugusertags},
                                        (exists $param{version}?(version => $param{version}):()),
                                        (exists $param{arch}?(arch => $param{arch}):(arch => $config{default_architectures})),
+                                       binary_to_source_cache => $binary_to_source_cache,
                                       )};
          next unless %status;
          next if bug_filter(bug => $bug,
@@ -367,7 +369,6 @@ sub pkg_htmlizebugs {
                            );
 
          my $html = "<li>"; #<a href=\"%s\">#%d: %s</a>\n<br>",
-              #bug_url($bug), $bug, html_escape($status{subject});
          $html .= short_bug_status_html(status  => \%status,
                                         options => $param{options},
                                        ) . "\n";