From 2e52c991de66f3507759c84b76e9eaf152cccda3 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 5 Oct 2012 20:45:56 -0700 Subject: [PATCH] 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. --- include/game.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; } -- 2.25.1