From: Colin Watson Date: Tue, 28 Aug 2007 17:55:37 +0000 (+0100) Subject: really fix include= too X-Git-Tag: release/2.6.0~519^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c77baf9701327e24a5197492cfe350c31833d6c7;p=debbugs.git really fix include= too --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index dde5792..ad9dcfe 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -754,7 +754,10 @@ sub pkg_htmlizebugs { for my $include (make_list($param{include})) { next unless defined $include; my ($key,$value) = split /\s*:\s*/,$include,2; - next unless defined $value; + unless (defined $value) { + $key = 'tags'; + $value = $include; + } push @{$include{$key}}, split /\s*,\s*/, $value; } for my $exclude (make_list($param{exclude})) {