summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-06-29 13:10:18 +0200
committerArun Persaud <arun@nubati.net>2007-06-29 13:10:18 +0200
commit90c9f0ee729d1960df96989b2b38d77f16ec1284 (patch)
tree1b39d0800ef1281adaaa4bb0d04b888840c9e731 /index.php
parent14cdf8ad54e90d7b208b72cd0bfd568e9c22bc32 (diff)
downloade-DoKo-90c9f0ee729d1960df96989b2b38d77f16ec1284.tar.gz
e-DoKo-90c9f0ee729d1960df96989b2b38d77f16ec1284.tar.bz2
e-DoKo-90c9f0ee729d1960df96989b2b38d77f16ec1284.zip
BUGFIX: final email didn't add up points for re/contra
had a wrong GROUP BY SQL statement in the code.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 6eecd4b..cd03f57 100644
--- a/index.php
+++ b/index.php
@@ -1475,7 +1475,7 @@ else if(myisset("me"))
" LEFT JOIN Hand_Card ON Hand_Card.id=Play.hand_card_id".
" LEFT JOIN Card ON Card.id=Hand_Card.card_id".
" WHERE Hand.game_id='$gameid'".
- " GROUP BY User.fullname" );
+ " GROUP BY Hand.party" );
$message .= "\nTotals:\n";
while( $r = mysql_fetch_array($result,MYSQL_NUM))
$message .= " ".$r[0]." ".$r[1]."\n";