summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-19 16:21:03 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-19 16:21:03 -0800
commit022246b947178ed5c7b1cd6a6dcc21414559b260 (patch)
tree5d171ba2fe7b239baaae9a5dbb195a92ac6c47b8 /include/game.php
parent09c105d8a343e0c58fe18075abaf3af9a6f80115 (diff)
downloade-DoKo-022246b947178ed5c7b1cd6a6dcc21414559b260.tar.gz
e-DoKo-022246b947178ed5c7b1cd6a6dcc21414559b260.tar.bz2
e-DoKo-022246b947178ed5c7b1cd6a6dcc21414559b260.zip
LAYOUT, BUGFIX: don't show current game in "it's your turn" list, also fix layout for this on newgame.php
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/game.php b/include/game.php
index 1edcb85..99ff454 100644
--- a/include/game.php
+++ b/include/game.php
@@ -183,12 +183,12 @@ if(myisset('call') && $_REQUEST['call'] == '0' && can_call(0,$me))
if( $gamestatus != 'gameover' && isset($_SESSION['id']) )
{
/* game isn't over, only valid user can get here, so show menu */
- display_user_menu($myid);
+ display_user_menu($myid, $me);
}
else if( $mystatus == 'gameover' && isset($_SESSION['id']) )
{
/* user is looking at someone else's game, show the menu for the correct user */
- display_user_menu($_SESSION['id']);
+ display_user_menu($_SESSION['id'],$me);
}
else
{