From: Matteo Nastasi (mop) Date: Mon, 4 Nov 2013 17:06:51 +0000 (+0100) Subject: points report fixed in stat-day.php and version updated X-Git-Tag: v4.10.1~6 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=e157fb38916b6e4f8b0eece7446cfbe773822d9d points report fixed in stat-day.php and version updated --- 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