summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/user.php b/include/user.php
index 546ea8d..65544f5 100644
--- a/include/user.php
+++ b/include/user.php
@@ -160,7 +160,7 @@ else
" G.session".
" FROM Hand".
" LEFT JOIN Game G ON G.id=Hand.game_id".
- " WHERE user_id='$myid'".
+ " WHERE user_id=".DB_quote_smart($myid).
" ORDER BY G.session,G.create_date" );
/* sort into active and passive sessions */