]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix on checkin for bug 543432
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 2 Jan 2014 23:08:17 +0000 (00:08 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 2 Jan 2014 23:08:17 +0000 (00:08 +0100)
Bugzilla/Search.pm

index 2d1f3af11ef5c37826a9e2fc41bd9d1052fd0003..b196fca3b1d7583c9c73e5f8fb8631c8df43bfa7 100644 (file)
@@ -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;