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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user