From b77b3294e4c74820f1bc036603dd8d3210e0eccc Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Wed, 16 Nov 2011 21:28:33 -0800 Subject: BUGFIX: fixed undefined variable when displaying tricks menu --- include/game.php | 1 + 1 file changed, 1 insertion(+) 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 "
  • "._('Trick')." $trickNR
  • \n"; else if($trick==$lasttrick) -- cgit v1.2.3-18-g5258