projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d3974
)
BUGFIX: fixed undefined variable when displaying tricks menu
author
Arun Persaud
<arun@nubati.net>
Thu, 17 Nov 2011 05:28:33 +0000
(21:28 -0800)
committer
Arun Persaud
<apersaud@lbl.gov>
Thu, 17 Nov 2011 05:28:33 +0000
(21:28 -0800)
include/game.php
patch
|
blob
|
history
diff --git
a/include/game.php
b/include/game.php
index 6d5b169119b0539828bb9cb8d1214ef329e27fbf..1edcb85d5166ead4e6229f1fd274de82e7d056b5 100644
(file)
--- 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)