]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix include/exclude=<tags>
authorColin Watson <cjwatson@canonical.com>
Tue, 28 Aug 2007 16:48:55 +0000 (17:48 +0100)
committerColin Watson <cjwatson@canonical.com>
Tue, 28 Aug 2007 16:48:55 +0000 (17:48 +0100)
cgi/pkgreport.cgi

index 48d755b016d9dcc65edba46330e7cccdae20b0d5..dde5792f845eecb16cf9d6ae7c40a9033f36151e 100755 (executable)
@@ -760,7 +760,10 @@ sub pkg_htmlizebugs {
     for my $exclude (make_list($param{exclude})) {
         next unless defined $exclude;
         my ($key,$value) = split /\s*:\s*/,$exclude,2;
-        next unless defined $value;
+        unless (defined $value) {
+            $key = 'tags';
+            $value = $exclude;
+        }
         push @{$exclude{$key}}, split /\s*,\s*/, $value;
     }