change the sanity check against $::FORM{'who'} since that variable is no longer used.

git-svn-id: svn://10.0.0.236/trunk@71720 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
endico%mozilla.org
2000-06-07 17:49:02 +00:00
parent 9330c8afeb
commit dc9f0a01f4

View File

@@ -34,8 +34,8 @@ GetVersionTable();
my $who = DBNameToIdAndCheck($::COOKIE{'Bugzilla_login'});
if ($who ne $::FORM{'who'}) {
PutHeader("Wrong login.");
if ( (! defined $who) || (!$who) ) {
PutHeader("Bad login.");
print "The login info got confused. If you want to adjust the votes\n";
print "for <tt>$::COOKIE{'Bugzilla_login'}</tt>, then please\n";
print "<a href=showvotes.cgi?user=$who>click here</a>.<hr>\n";