From: Arun Persaud Date: Fri, 30 May 2008 03:02:22 +0000 (-0700) Subject: BUGIFX: wrong order in if-statement led to checking an (in some cases) uninitialized... X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=0cd4c6af6c46af0be3efa882b50c22ad1de8766b BUGIFX: wrong order in if-statement led to checking an (in some cases) uninitialized variable changed the order and now everything should be fine. Signed-off-by: Arun Persaud --- diff --git a/include/game.php b/include/game.php index ceed8bb..679680d 100644 --- a/include/game.php +++ b/include/game.php @@ -155,7 +155,7 @@ switch($mystatus) else { /* check the result, if player wants to join, got next stage, else cancel game */ - if($_REQUEST["in"] == "no" && !$skip) + if(!$skip && $_REQUEST["in"] == "no" ) { /* cancel the game */ $message = "Hello, \n\n".