]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 575021: Make the anyexact operator in Search.pm properly trim its
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 8 Jul 2010 18:58:10 +0000 (11:58 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 8 Jul 2010 18:58:10 +0000 (11:58 -0700)
input values
r=mkanat, a=mkanat (module owner)

Bugzilla/Search.pm

index 7128b87512ca097cfd1eb67fc6691025345756eb..b7c2f06ba08f0d4cc18d58238ce4286cbad0af1b 100644 (file)
@@ -2284,6 +2284,7 @@ sub _anyexact {
     
     my @list;
     foreach my $word (split(/,/, $value)) {
+        $word = trim($word);
         if ($word eq "---" && $field eq 'resolution') {
             $word = "";
         }