X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fuprav_zaregistrovanych.inc;fp=wwwroot%2Finc%2Feventz%2Fuprav_zaregistrovanych.inc;h=f3217fae900056c23ec1c02fc28b8b30b6b208b8;hb=09f0f2fae8b01c46318cee6e9864b7b1847e9fd3;hp=fed3afaed25b808b050b399f9026a1fd3d321d31;hpb=f2e47e33e5b2753b886980b52b26641a62d9bec9;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/uprav_zaregistrovanych.inc b/wwwroot/inc/eventz/uprav_zaregistrovanych.inc index fed3afa..f3217fa 100644 --- a/wwwroot/inc/eventz/uprav_zaregistrovanych.inc +++ b/wwwroot/inc/eventz/uprav_zaregistrovanych.inc @@ -5,8 +5,8 @@ global $db,$error; // XXX hardcoded, rewrite $q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes -left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=2091448 and -k>=3"; +left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=".REGISTRATION_REQUEST_NODE." and +k>=".REGISTRATION_VOTES; $set=$db->query($q); while ($set->next()) {