From e157fb38916b6e4f8b0eece7446cfbe773822d9d Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 4 Nov 2013 18:06:51 +0100 Subject: [PATCH] points report fixed in stat-day.php and version updated --- web/Obj/brisk.phh | 2 +- web/briskin5/stat-day.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 56e7556..a855f26 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -141,7 +141,7 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi', $G_lng = langtolng($G_lang); $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "4.10.0"; +$G_brisk_version = "4.10.1"; /* MLANG: ALL THE INFO STRINGS IN brisk.phh */ $root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': aggiunto il comando /cont per proseguire le partite.', 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 -- 2.17.1