diff options
author | Byron Jones <bjones@mozilla.com> | 2012-04-26 09:10:53 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-04-26 09:10:53 +0200 |
commit | 700a5600d148865c50dd3b0d2b9233e4414d5789 (patch) | |
tree | bab360e73fee7cf82a50adb9e2745039cdd02db0 /Bugzilla | |
parent | d703b0e69148da3cf5e01268ec0d288743ed2734 (diff) | |
download | bugzilla-700a5600d148865c50dd3b0d2b9233e4414d5789.tar.gz bugzilla-700a5600d148865c50dd3b0d2b9233e4414d5789.tar.xz |
bug 749069: more "use of uninitialized" warning fixes
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Search.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index c52f8a22d..7d2d63284 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1747,6 +1747,9 @@ sub _do_operator_function { my ($self, $func_args) = @_; my $operator = $func_args->{operator}; my $operator_func = OPERATORS->{$operator}; + my $operator_func = OPERATORS->{$$operator} + || ThrowCodeError("search_field_operator_unsupported", + { operator => $$operator }); $self->$operator_func($func_args); } |