aboutsummaryrefslogtreecommitdiff
path: root/src/fclar.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2013-09-11 13:11:38 +0000
committercassiopc <cassiopc@gmail.com>2013-09-11 13:11:38 +0000
commit91ddcb9dd5405438bd335ca2ca16f6f9149ccba8 (patch)
tree16a1e1257b13c64dd22f080b3cf10dccd42a098d /src/fclar.php
parent8c4f0fe4db623cf3ff81ab49a97f4707c85def37 (diff)
downloadboca-91ddcb9dd5405438bd335ca2ca16f6f9149ccba8.tar.gz
boca-91ddcb9dd5405438bd335ca2ca16f6f9149ccba8.zip
fixed sysvutils issue with new distros and updated ordering of reports and exclusion of judge runs from reports
Diffstat (limited to 'src/fclar.php')
-rw-r--r--src/fclar.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fclar.php b/src/fclar.php
index 0a7b439..7c73975 100644
--- a/src/fclar.php
+++ b/src/fclar.php
@@ -1,7 +1,7 @@
<?php
////////////////////////////////////////////////////////////////////////////////
//BOCA Online Contest Administrator
-// Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
+// Copyright (C) 2003-2013 by BOCA Development Team (bocasystem@gmail.com)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////////////
-// Last modified 05/aug/2012 by cassio@ime.usp.br
+// Last modified 06/sep/2013 by cassio@ime.usp.br
function DBDropClarTable() {
$c = DBConnect();
@@ -473,7 +473,7 @@ function DBOpenClarsSNS($contest,$site,$st,$order='clar') {
else if ($order == "user")
$sql .= "c.usernumber,c.clarsitenumber,";
- if ($st == 1 || $order == "normal")
+ if ($st == 1 || $order == "report")
$sql .= "c.clarnumber";
else
$sql .= "c.clardatediff desc";