diff options
author | Arun Persaud <arun@nubati.net> | 2008-05-29 20:02:22 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-05-29 20:02:22 -0700 |
commit | 0cd4c6af6c46af0be3efa882b50c22ad1de8766b (patch) | |
tree | b407c87bc05078314f9d9fa57eccb5f84b0b0d4a | |
parent | be7fad04dae48d5fa0c209b84be3e9cf9b763472 (diff) | |
download | e-DoKo-0cd4c6af6c46af0be3efa882b50c22ad1de8766b.tar.gz e-DoKo-0cd4c6af6c46af0be3efa882b50c22ad1de8766b.tar.bz2 e-DoKo-0cd4c6af6c46af0be3efa882b50c22ad1de8766b.zip |
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 <arun@nubati.net>
-rw-r--r-- | include/game.php | 2 |
1 files changed, 1 insertions, 1 deletions
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". |