BUGFIX: db_format_game wasn't working any more
authorArun Persaud <arun@nubati.net>
Wed, 20 Aug 2008 01:14:13 +0000 (18:14 -0700)
committerArun Persaud <arun@nubati.net>
Wed, 20 Aug 2008 01:14:13 +0000 (18:14 -0700)
commit53d9b086ef0b8a5e210a5713dcd944c16bd39bc8
tree57ac3cde4c1e471f4919fede4ef996e523d191f3
parent1c3c341f53ce5de7e9d4bcc63e43a925faec3f48
BUGFIX: db_format_game wasn't working any more

mysql's TIMEDIFF seems to have changed... comparing <=0 didn't work correctly anymore.
Changed it to convert to seconds and then compare those against <=0 and use that data to calculate game number

Signed-off-by: Arun Persaud <arun@nubati.net>
include/db.php