From a8f4723c268d3bf0d42bd4a3a79d0d5d5dfd465d Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Tue, 29 Aug 2017 12:27:40 +0100 Subject: bug fixes and speed up runs --- src/freport.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/freport.php') diff --git a/src/freport.php b/src/freport.php index cded59b..6d990ca 100644 --- a/src/freport.php +++ b/src/freport.php @@ -15,7 +15,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . //////////////////////////////////////////////////////////////////////////////// -// Last modified 05/aug/2012 by cassio@ime.usp.br +// Last modified 29/aug/2017 by cassio@ime.usp.br function DBRunReport($contest,$site) { $c = DBConnect(); @@ -50,7 +50,8 @@ function DBRunReport($contest,$site) { $xuserfull[$a['name']] = $a['fullname']; } ksort($xusername); - + $xcolor = array(); + $pr = DBGetProblems($contest); for($i=0; $i