зеркало из https://github.com/mozilla/gecko-dev.git
change the sanity check against $::FORM{'who'} since that variable is no longer used.
This commit is contained in:
Родитель
024559472a
Коммит
7bc3515cfc
|
@ -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";
|
||||
|
|
Загрузка…
Ссылка в новой задаче