From: Arun Persaud Date: Sat, 6 Oct 2012 03:45:56 +0000 (-0700) Subject: BUGFIX: if not logged in, don't show link to last game X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e52c991de66f3507759c84b76e9eaf152cccda3;p=e-DoKo.git BUGFIX: if not logged in, don't show link to last game This could be used to get the hash for a current game of a different user. --- diff --git a/include/game.php b/include/game.php index 4fa950c..d43699b 100644 --- a/include/game.php +++ b/include/game.php @@ -337,9 +337,10 @@ if($session) echo "   "._('previous')." \n"; if($next) echo "   "._('next')." \n"; + + if($j != $i ) + echo "   "._('last')." \n"; } - if($j != $i ) - echo "   last \n"; echo "\n\n"; }