diff options
author | Byron Jones <bjones@mozilla.com> | 2013-06-12 10:38:43 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-06-12 10:38:43 +0200 |
commit | 75645b089d19ff211dbf19007a7048c0e8f8b521 (patch) | |
tree | ded403839e76d753e99d6825a32e8232643d2393 /extensions | |
parent | b9915abd8c37fd3c48a84ab8463c9765b6e20814 (diff) | |
download | bugzilla-75645b089d19ff211dbf19007a7048c0e8f8b521.tar.gz bugzilla-75645b089d19ff211dbf19007a7048c0e8f8b521.tar.xz |
Bug 882059: fix "use of uninitialized value" warnings, and ignore some errors/warnings
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Voting/Extension.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index b8763b4df..aecd2382c 100644 --- a/extensions/Voting/Extension.pm +++ b/extensions/Voting/Extension.pm @@ -421,6 +421,7 @@ sub _page_user { # If a bug_id is given, and we're editing, we'll add it to the votes list. my $bug_id = $input->{bug_id}; + $bug_id = $bug_id->[0] if ref($bug_id) eq 'ARRAY'; my $bug = Bugzilla::Bug->check($bug_id) if $bug_id; my $who_id = $input->{user_id} || $user->id; |