From: Frédéric Buclin Date: Thu, 2 Jan 2014 23:08:17 +0000 (+0100) Subject: Fix on checkin for bug 543432 X-Git-Tag: bugzilla-4.5.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac53ed9b6735eb6b5f49aa1574901a660c58657;p=thirdparty%2Fbugzilla.git Fix on checkin for bug 543432 --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 2d1f3af11e..b196fca3b1 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1999,7 +1999,7 @@ sub _quote_unless_numeric { my $is_numeric = $numeric_operator && $numeric_field && $numeric_value; # These operators are really numeric operators with numeric fields. - $numeric_operator = grep { $_ eq $operator } keys SIMPLE_OPERATORS; + $numeric_operator = grep { $_ eq $operator } keys %{ SIMPLE_OPERATORS() }; if ($is_numeric) { my $quoted = $value;