diff options
author | Arun Persaud <arun@nubati.net> | 2008-09-17 22:46:05 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-09-17 22:46:05 -0700 |
commit | 3951e6e5eb8e8960dad01e5acb14a9c83aca1dce (patch) | |
tree | 8197f12ff8ff60dca75c26811531b1b18ac24f2a | |
parent | 797448419b0b0408d6eafe9b9a8b7fdd54bf7fb4 (diff) | |
download | e-DoKo-3951e6e5eb8e8960dad01e5acb14a9c83aca1dce.tar.gz e-DoKo-3951e6e5eb8e8960dad01e5acb14a9c83aca1dce.tar.bz2 e-DoKo-3951e6e5eb8e8960dad01e5acb14a9c83aca1dce.zip |
BUGFIX: solo statistics didn't include silent solo
include silent solo in the solo statistics (number of solo/game)
Signed-off-by: Arun Persaud <arun@nubati.net>
-rw-r--r-- | include/stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stats.php b/include/stats.php index d372e4a..095296e 100644 --- a/include/stats.php +++ b/include/stats.php @@ -189,7 +189,7 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) " FROM Game ". " LEFT JOIN Hand ON Hand.position=startplayer AND Game.id=Hand.game_id ". " LEFT JOIN User ON User.id=Hand.user_id ". - " WHERE type='solo' AND Game.solo<>'silent' AND Game.status='gameover' ". + " WHERE type='solo' AND Game.status='gameover' ". " GROUP BY user_id ". " ORDER BY c DESC;"); array_unshift($result,array("Name","Number of solos","Solos/game")); |