From: Arun Persaud Date: Thu, 17 Nov 2011 05:28:33 +0000 (-0800) Subject: BUGFIX: fixed undefined variable when displaying tricks menu X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=b77b3294e4c74820f1bc036603dd8d3210e0eccc BUGFIX: fixed undefined variable when displaying tricks menu --- 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)