aboutsummaryrefslogtreecommitdiff
path: root/src/staff/report
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-29 11:27:40 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-29 11:27:40 +0000
commita8f4723c268d3bf0d42bd4a3a79d0d5d5dfd465d (patch)
treece07faec23d807b21b9d5e309b35d455f1b7c256 /src/staff/report
parent7191e76649dbb207db26b59271cb6e16cc427bc6 (diff)
downloadboca-a8f4723c268d3bf0d42bd4a3a79d0d5d5dfd465d.tar.gz
boca-a8f4723c268d3bf0d42bd4a3a79d0d5d5dfd465d.zip
bug fixes and speed up runs
Diffstat (limited to 'src/staff/report')
-rwxr-xr-xsrc/staff/report/stat.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/staff/report/stat.php b/src/staff/report/stat.php
index 8a706e4..f93662a 100755
--- a/src/staff/report/stat.php
+++ b/src/staff/report/stat.php
@@ -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 29/aug/2017 by cassio@ime.usp.br
require('header.php');
@@ -139,7 +139,9 @@ $str="All Runs by Language";
$str2="Accepted Runs by Language";
reset($d['language']);
while (list($keya, $val) = each($d['language'])) {
- $val = $d['languageyes'][$keya]; if($val=="") $val=0;
+ $val=0;
+ if(isset($d['languageyes'][$keya]))
+ $val = $d['languageyes'][$keya];
$str2 .= chr(1) . $keya . "(" . $val . ")" . chr(1) . $val;
}