summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-16 21:28:33 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-16 21:28:33 -0800
commitb77b3294e4c74820f1bc036603dd8d3210e0eccc (patch)
tree850b3c028a87b5fd8230fab786af26a3c84dac59 /include
parent75d3974143dbaa3601317f767d77ed1c3cc13e9b (diff)
downloade-DoKo-b77b3294e4c74820f1bc036603dd8d3210e0eccc.tar.gz
e-DoKo-b77b3294e4c74820f1bc036603dd8d3210e0eccc.tar.bz2
e-DoKo-b77b3294e4c74820f1bc036603dd8d3210e0eccc.zip
BUGFIX: fixed undefined variable when displaying tricks menu
Diffstat (limited to 'include')
-rw-r--r--include/game.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/game.php b/include/game.php
index 6d5b169..1edcb85 100644
--- a/include/game.php
+++ b/include/game.php
@@ -405,6 +405,7 @@ switch($mystatus)
/* output tricks */
while($r = DB_fetch_array($result))
{
+ $trick=$r[0];
if($trick!=$lasttrick)
echo " <li onclick=\"hl('$trickNR');\" class=\"old\"><a href=\"#\">"._('Trick')." $trickNR</a></li>\n";
else if($trick==$lasttrick)