points report fixed in stat-day.php and version updated
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 4 Nov 2013 17:06:51 +0000 (18:06 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 4 Nov 2013 17:08:55 +0000 (18:08 +0100)
web/Obj/brisk.phh
web/briskin5/stat-day.php

index 56e7556..a855f26 100644 (file)
@@ -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.'), <b>NOVITA\'</b>: aggiunto il comando /cont per proseguire le partite.',
index 72408e4..0cd4aad 100644 (file)
@@ -317,7 +317,7 @@ function main_pgsql($from, $to)
                     fprintf($fpexp, "<th>%s</th>", $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