Commit bcd2c583 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

* Disable the Voting extension by default.

* There was a syntax error in the code-error-errors.html.tmpl hook in the Voting extension. * Creating the TestProduct during checksetup was throwing an warning about use of an uninitialized value, due to the Voting extension. https://bugzilla.mozilla.org/show_bug.cgi?id=372979
parent 013e7055
......@@ -326,7 +326,7 @@ sub _check_votestoconfirm {
sub _check_votes {
my ($default, $invocant, $votes, $field) = @_;
detaint_natural($votes);
detaint_natural($votes) if defined $votes;
# On product creation, if the number of votes is not a valid integer,
# we silently fall back to the given default value.
# If the product already exists and the change is illegal, we complain.
......
......@@ -22,3 +22,4 @@
[% title = "$terms.Bug Cannot Be Confirmed" %]
There is no valid transition from
[%+ display_value("bug_status", "UNCONFIRMED") FILTER html %] to an open state
[% END %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment