From: niekt0 Date: Wed, 8 Dec 2010 01:27:55 +0000 (+0100) Subject: small fix to verify event X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=6314a12e8a6bd2794a83365ed9ef54f59a65dffe;p=mirrors%2FKyberia-bloodline.git small fix to verify event --- diff --git a/wwwroot/inc/eventz/verify.inc b/wwwroot/inc/eventz/verify.inc index b19a7ac..b6749aa 100644 --- a/wwwroot/inc/eventz/verify.inc +++ b/wwwroot/inc/eventz/verify.inc @@ -1,5 +1,5 @@ query("select hash from users where login='$login'"); $kset->next();$vercode=$kset->getString('hash'); if($uvercode!=$vercode) { -global $error; -$error="Wrong verification code or username"; -return false; -} - -else { + global $error; + $error="Wrong verification code or username"; + return false; +} else { // ouch!! this is gonna be dirty!!!!! will be revised later:-) // XXX hardcoded, rewrite $q="update nodes set node_parent=2091448, node_vector='00876611020914480$userid' where node_id='$userid'"; @@ -41,11 +39,9 @@ $db->update($q); // and now the happy news:-)) - - echo "
Verification successfull.

from now on your registration is in the hands of kyberians

"; - -die(); + die(); } + } ?>