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:
justdave%syndicomm.com 2001-11-02 20:05:13 +00:00
parent e289858691
commit 63778cf408

View File

@ -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();