X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fcancelgame.php;h=43d32740c93014bded9fed6ef61a3d1626d906e6;hp=5b855347bab0794f65e220de04579e9e214fef58;hb=12a7da9216b33c12ecc7939be1f6e8a48a273b00;hpb=086ed1db2ec28817b3370481455c84ceaf6448c2 diff --git a/include/cancelgame.php b/include/cancelgame.php index 5b85534..43d3274 100644 --- a/include/cancelgame.php +++ b/include/cancelgame.php @@ -10,9 +10,7 @@ output_status(); if(!myisset("me")) { echo "Hmm, you really shouldn't mess with the urls.
\n"; - output_footer(); - DB_close(); - exit(); + return; } $me = $_REQUEST["me"]; @@ -23,9 +21,7 @@ if(!$myid) { echo "Can't find you in the database, please check the url.
\n"; echo "perhaps the game has been canceled, check by login in here."; - output_footer(); - DB_close(); - exit(); + return; } DB_update_user_timestamp($myid);