summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-27 19:33:31 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-27 19:33:31 +0100
commit7b1bed5a32ce5f19cdee77783a4e4121c01c4a9e (patch)
treeee5cd4b5bdadd01d12b31418dfe1dd08c39bf2fb
parentedd311542420b987440ee9b4ce481666f7c762b4 (diff)
downloadbugzilla-7b1bed5a32ce5f19cdee77783a4e4121c01c4a9e.tar.gz
bugzilla-7b1bed5a32ce5f19cdee77783a4e4121c01c4a9e.tar.xz
Fix bustage in Perl 5.10 and 5.12
https://bugzilla.mozilla.org/show_bug.cgi?id=76498
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index 3448b0bdb..ced19b4c3 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -402,7 +402,7 @@ sub _handle_field_names {
# Generic field1,field2,field3:value1,value2 notation.
# We have to correctly ignore commas and colons in quotes.
- foreach my $symbol (keys OPERATOR_SYMBOLS) {
+ foreach my $symbol (keys %{ OPERATOR_SYMBOLS() }) {
my @field_values = parse_line($symbol, 1, $or_operand);
next unless scalar @field_values == 2;
my @fields = parse_line(',', 1, $field_values[0]);