summaryrefslogtreecommitdiffstats
path: root/include/newgame.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-10-20 19:54:13 -0700
committerArun Persaud <arun@nubati.net>2008-10-20 20:34:17 -0700
commit2666bb58429c385b716d2ffd5d5fe9a9e7af4f45 (patch)
tree8b47bb79a20981ccc123d3e18587dcad4da89ebc /include/newgame.php
parente1b3eaa640a1e4249b8406e946bd65e902aadfb9 (diff)
downloade-DoKo-2666bb58429c385b716d2ffd5d5fe9a9e7af4f45.tar.gz
e-DoKo-2666bb58429c385b716d2ffd5d5fe9a9e7af4f45.tar.bz2
e-DoKo-2666bb58429c385b716d2ffd5d5fe9a9e7af4f45.zip
BUGFIX: make user menu and personal notes appear again
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game) Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/newgame.php')
-rw-r--r--include/newgame.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/newgame.php b/include/newgame.php
index 8dbefdf..7349e7e 100644
--- a/include/newgame.php
+++ b/include/newgame.php
@@ -27,7 +27,7 @@ else
echo "<div class=\"user\">\n";
output_form_for_new_game($names);
echo "</div>\n";
- display_user_menu();
+ display_user_menu($myid);
}
else
{
@@ -182,7 +182,7 @@ else
"Hello $PlayerD,\n".$message.$hashD);
echo "<div class=\"message\">You started a new game. The emails have been sent out!</div>\n";
- display_user_menu();
+ display_user_menu($myid);
}
}