mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Fix for bug 95615: cosmetic change to clarify error message when trying to use too many votes
Patch by Adam Kennedy <bugzilla@ali.as> r= justdave x2
This commit is contained in:
parent
e289858691
commit
63778cf408
@ -110,7 +110,7 @@ if (scalar(@buglist)) {
|
||||
if ($::FORM{$id} > $max) {
|
||||
PutHeader("Don't overstuff!", "Illegal vote");
|
||||
print "You may only use at most $max votes for a single bug in the\n";
|
||||
print "<tt>$prod</tt> product, but you are using $::FORM{$id}.\n";
|
||||
print "<tt>$prod</tt> product, but you are trying to use $::FORM{$id}.\n";
|
||||
print "<P>Please click <b>Back</b> and try again.<hr>\n";
|
||||
PutFooter();
|
||||
exit();
|
||||
@ -121,7 +121,7 @@ if (scalar(@buglist)) {
|
||||
if ($prodcount{$prod} > $::prodmaxvotes{$prod}) {
|
||||
PutHeader("Don't overstuff!", "Illegal vote");
|
||||
print "You may only use $::prodmaxvotes{$prod} votes for bugs in the\n";
|
||||
print "<tt>$prod</tt> product, but you are using $prodcount{$prod}.\n";
|
||||
print "<tt>$prod</tt> product, but you are trying to use $prodcount{$prod}.\n";
|
||||
print "<P>Please click <b>Back</b> and try again.<hr>\n";
|
||||
PutFooter();
|
||||
exit();
|
||||
|
Loading…
Reference in New Issue
Block a user