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
parent 530879b4
......@@ -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();
......
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