From 6f713896c880895840c0a63b3ea1b3a1dc3db284 Mon Sep 17 00:00:00 2001 From: doogie <> Date: Tue, 16 Sep 2003 19:57:19 -0800 Subject: [PATCH] [project @ 2003-09-16 20:57:19 by doogie] Fix checking for invalid include/exclude key. --- cgi/common.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/common.pl b/cgi/common.pl index ada69ecc..0b2a2c02 100644 --- a/cgi/common.pl +++ b/cgi/common.pl @@ -94,7 +94,7 @@ sub filter_include_exclude($\%) { if (/^([^:]*):(.*)$/) { if ($1 eq 'subj') { ['subject', $2]; } else { [$1, $2] } } else { ['tags', $_] } } split /[\s,]+/, join ',', @vals; foreach my $data (@data) { - &quitcgi("Invalid filter key: '$data->[0]'") if (!exists($filter_map->{$data->[0]})); + &quitcgi("Invalid filter key: '$data->[0]'") if (!exists($field_match{$data->[0]})); push @{$filter_map->{$data->[0]}}, $data->[1]; } } -- 2.39.5