From: niekt0 Date: Wed, 22 Dec 2010 22:24:40 +0000 (+0100) Subject: fixed vector in registrations X-Git-Url: http://git.harvie.cz/?a=commitdiff_plain;h=d235991a608d7aedf6528ba2b44a2280106d61bd;hp=f4b4ee223ff9269f489526ef15857325172cf5dd;p=mirrors%2FKyberia-bloodline.git fixed vector in registrations --- diff --git a/wwwroot/inc/eventz/verify.inc b/wwwroot/inc/eventz/verify.inc index 6b335eb..433849b 100644 --- a/wwwroot/inc/eventz/verify.inc +++ b/wwwroot/inc/eventz/verify.inc @@ -27,7 +27,7 @@ if($uvercode!=$vercode) { } else { // ouch!! this is gonna be dirty!!!!! will be revised later:-) // XXX hardcoded, rewrite -$q="update nodes set node_parent=".REGISTRATION_REQUEST_NODE.", node_vector='0000010120914480$userid' where node_id='$userid'"; +$q="update nodes set node_parent=".REGISTRATION_REQUEST_NODE.", node_vector='00000101020914480$userid' where node_id='$userid'"; $db->update($q); $q="update nodes set node_children_count=node_children_count+1 where node_id=".REGISTRATION_REQUEST_NODE; $db->update($q);