Commit dba8ee6d authored by endico%mozilla.org's avatar endico%mozilla.org

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

parent 8239b8eb
......@@ -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";
......
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