From dba8ee6df76517f18ad304b184503673838cf8cb Mon Sep 17 00:00:00 2001 From: "endico%mozilla.org" <> Date: Thu, 8 Jun 2000 00:49:02 +0000 Subject: change the sanity check against $::FORM{'who'} since that variable is no longer used. --- doeditvotes.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doeditvotes.cgi') diff --git a/doeditvotes.cgi b/doeditvotes.cgi index 3902f9118..7b830595a 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"; -- cgit v1.2.3-24-g4f1b