diff options
author | Arun Persaud <arun@nubati.net> | 2007-12-14 11:41:47 +0100 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-12-14 11:41:47 +0100 |
commit | 05a61952fc743ea388c10eff29e50adabf4593aa (patch) | |
tree | 8b8840aac8492ed4dbefe9cec98cf43dc7f97e9a /functions.php | |
parent | 6bbeb84075b302b51bed0e2d568c393363779041 (diff) | |
download | e-DoKo-05a61952fc743ea388c10eff29e50adabf4593aa.tar.gz e-DoKo-05a61952fc743ea388c10eff29e50adabf4593aa.tar.bz2 e-DoKo-05a61952fc743ea388c10eff29e50adabf4593aa.zip |
BUGIFX: sort game list by session in user menu
if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index a9ea34b..16ca508 100644 --- a/functions.php +++ b/functions.php @@ -812,7 +812,8 @@ function display_user_menu() " LEFT JOIN Game On Hand.game_id=Game.id". " WHERE Hand.user_id='$myid'". " AND Game.player='$myid'". - " AND Game.status<>'gameover'" ); + " AND Game.status<>'gameover'". + " ORDER BY Game.session" ); if(mysql_num_rows($result)) echo "<hr />It's your turn in these games:<br />\n"; |