X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Feventz%2Fvycisti_registracky.inc;h=8df8c0c6bcb9a20a9b5dd35f67237ed8095f3f11;hb=918e58f47c1c62056afccb50a536275c4da6c151;hp=553a1a8d0bb649346df4b92c998dc613e3ca5433;hpb=94c8f5b3e574715cc692f8a92f8d332e0c55804a;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/eventz/vycisti_registracky.inc b/wwwroot/inc/eventz/vycisti_registracky.inc index 553a1a8..8df8c0c 100644 --- a/wwwroot/inc/eventz/vycisti_registracky.inc +++ b/wwwroot/inc/eventz/vycisti_registracky.inc @@ -3,7 +3,7 @@ function vycisti_registracky() { global $db,$error; $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<=4"; +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()) {