From c77baf9701327e24a5197492cfe350c31833d6c7 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 28 Aug 2007 18:55:37 +0100 Subject: [PATCH] really fix include= too --- cgi/pkgreport.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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})) { -- 2.39.2