X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Fstat-day.php;h=0cd4aad43ddf872029d07acd85a679690effdffc;hb=e41441bc6b07d3598dea8cd60ee2357db15361b4;hp=72408e43c32a63a1724e6d4915198a9bfeeb74fc;hpb=536da22ebde5fa66e0f7524e9efc0316391f1afd;p=brisk.git diff --git a/web/briskin5/stat-day.php b/web/briskin5/stat-day.php index 72408e4..0cd4aad 100644 --- a/web/briskin5/stat-day.php +++ b/web/briskin5/stat-day.php @@ -317,7 +317,7 @@ function main_pgsql($from, $to) fprintf($fpexp, "%s", $users[$u]['login']); // note: we are looping on users, order on them not needed $pts_sql = sprintf("SELECT p.pts as pts from %sbin5_games as g, %sbin5_points as p WHERE g.code = p.gcode AND g.mcode = %d AND p.ucode = %d ORDER BY g.code", - $G_dbpfx, $G_dbpfx, $G_dbpfx, + $G_dbpfx, $G_dbpfx, $tmt_obj->code, $users[$u]['code']); // points of the match for each user