From: endico%mozilla.org <> Date: Thu, 8 Jun 2000 00:49:02 +0000 (+0000) Subject: change the sanity check against $::FORM{'who'} since that variable is no longer used. X-Git-Tag: bugzilla-2.12~282 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dba8ee6df76517f18ad304b184503673838cf8cb;p=thirdparty%2Fbugzilla.git change the sanity check against $::FORM{'who'} since that variable is no longer used. --- diff --git a/doeditvotes.cgi b/doeditvotes.cgi index 3902f91188..7b830595a2 100755 --- a/doeditvotes.cgi +++ b/doeditvotes.cgi @@ -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 $::COOKIE{'Bugzilla_login'}, then please\n"; print "click here.
\n";