Mercurial > hg > fapweb
changeset 477:82b94c1db52d
Change the number of attendees to maxAttendeesHard.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Dec 2013 10:14:58 +0200 |
parents | cb4ed6b12bb6 |
children | 8dde27202989 |
files | admajax.php |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/admajax.php Sat Dec 07 00:12:46 2013 +0200 +++ b/admajax.php Sat Dec 07 10:14:58 2013 +0200 @@ -1082,8 +1082,7 @@ case "voters": // Generate vote keys, if needed $numVKeys = stFetchSQLColumn("SELECT COUNT(*) FROM votekeys"); - $numUsers = stFetchSQLColumn("SELECT COUNT(*) FROM attendees"); - while ($numVKeys < $numUsers) + while ($numVKeys < $maxAttendeesHard) { if (($key = stGenerateUserKey()) !== false) {