projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7fad0
)
BUGIFX: wrong order in if-statement led to checking an (in some cases) uninitialized...
author
Arun Persaud
<arun@nubati.net>
Fri, 30 May 2008 03:02:22 +0000
(20:02 -0700)
committer
Arun Persaud
<arun@nubati.net>
Fri, 30 May 2008 03:02:22 +0000
(20:02 -0700)
changed the order and now everything should be fine.
Signed-off-by: Arun Persaud <arun@nubati.net>
include/game.php
patch
|
blob
|
history
diff --git
a/include/game.php
b/include/game.php
index ceed8bbba49d25191fe4cf940d9358b8d7d95c3e..679680d44a267345141a7ecf732d160b56f04ccd 100644
(file)
--- 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".