summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index d99f9c8..7bdfd31 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -942,7 +942,7 @@ function display_user_menu($id)
" LEFT JOIN Game On Hand.game_id=Game.id".
" WHERE Hand.user_id='$id'".
" AND ( Game.player='$id' OR ISNULL(Game.player) )".
- " AND Game.status<>'gameover'".
+ " AND ( Game.status='pre' OR Game.status='play' )".
" ORDER BY Game.session" );
$i=0;