summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 7128b8751..b7c2f06ba 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2284,6 +2284,7 @@ sub _anyexact {
my @list;
foreach my $word (split(/,/, $value)) {
+ $word = trim($word);
if ($word eq "---" && $field eq 'resolution') {
$word = "";
}