BUGFIX: fix mysql insert statements (null values for timestamps didn't work anymore)
authorArun Persaud <arun@nubati.net>
Mon, 5 Oct 2015 00:03:34 +0000 (17:03 -0700)
committerArun Persaud <arun@nubati.net>
Mon, 5 Oct 2015 00:05:32 +0000 (17:05 -0700)
commit65de9655c6002bbfee76f1c3c45b312615fb375a
treecbaf2ae3fd9d5bf7db8425a8c2b6e809c77b56e2
parenta4cdb155b19c40d9b85a06d8aae0c6b291f439fc
BUGFIX: fix mysql insert statements (null values for timestamps didn't work anymore)

a dreamhost update to a newer sql version changed the default behavior for
null inserts for timestamps. They don't insert the current timestamp anymore
when a config option for mysql is set (which seems to be the case).

solution: instead of inserting null always insert current_timestamp
include/db.php
include/game.php
include/newgame.php
include/register.php