X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fstats.php;h=095296edcd919223a5d340fc646a6a06c8a66d54;hp=d49d57a67c54d8241cd1d8fe0428e1ff81e7313b;hb=3951e6e5eb8e8960dad01e5acb14a9c83aca1dce;hpb=53314b8335e7565cf63941ba074cafba37d913e2 diff --git a/include/stats.php b/include/stats.php index d49d57a..095296e 100644 --- a/include/stats.php +++ b/include/stats.php @@ -104,15 +104,16 @@ if( !$content = getCache("cache/stats.html",60*60*24) ) select g1.id, g2.id from game g1 left join game g2 on g1.randomnumbers=g2.randomnumbers where g1.id'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"));