Anihilating constans
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / vycisti_registracky.inc
index 553a1a8d0bb649346df4b92c998dc613e3ca5433..8df8c0c6bcb9a20a9b5dd35f67237ed8095f3f11 100644 (file)
@@ -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()) {
This page took 0.098926 seconds and 4 git commands to generate.