From 0cd4c6af6c46af0be3efa882b50c22ad1de8766b Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 29 May 2008 20:02:22 -0700 Subject: 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 --- include/game.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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". -- cgit v1.2.3-18-g5258