summaryrefslogtreecommitdiffstats
path: root/include/output.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/output.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/output.php')
-rw-r--r--include/output.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/output.php b/include/output.php
index f26ab1b..47fddfe 100644
--- a/include/output.php
+++ b/include/output.php
@@ -437,9 +437,6 @@ function output_password_recovery($email,$password)
function output_user_notes($userid,$gameid,$userstatus)
{
- /* make sure to only show these if the person is logged in */
- if(!isset($_SESSION['id']) || $userid != $_SESSION['id']) return;
-
echo "<div class=\"notes\"> Personal notes: <br />\n";
$notes = DB_get_notes_by_userid_and_gameid($userid,$gameid);
foreach($notes as $note)