WickedShell / echelon

http://echelon.bigbrotherbot.net
14 stars 7 forks source link

Adding New Echelon Users #7

Closed FrikFry closed 13 years ago

FrikFry commented 13 years ago

The registration key section on sa.php doesn't show active registration keys. I was able to fix this on my own version by changing the where line of the query in the getKeys function in dbl-class.php from WHERE k.active = 1 AND k.time_add < ? AND comment != 'PW' ORDER BY time_add ASC"; to WHERE k.active = 1 AND k.time_add < $time AND comment != 'PW' ORDER BY time_add ASC";

WickedShell commented 13 years ago

good catch, and good fix, works beautrifully and as it was meant to, thanks!