Fix a bug displaying the total number of projects in the judges scheduler config

This commit is contained in:
james 2011-11-28 18:52:32 +00:00
parent 0a41f3471d
commit 02b06de804

View File

@ -169,7 +169,7 @@ function judges_scheduler_check_judges()
} }
echo "<tr><td>Judging Division Group $jdiv_id</td>"; echo "<tr><td>Judging Division Group $jdiv_id</td>";
echo "<td align=\"center\">$c</td>"; echo "<td align=\"center\">{$jd['num_projects']['total']}</td>";
$langstr=""; $langstr="";
foreach($config['languages'] AS $lkey=>$lname) { foreach($config['languages'] AS $lkey=>$lname) {
$clang=($jd['num_projects'][$lkey]?$jd['num_projects'][$lkey]:0); $clang=($jd['num_projects'][$lkey]?$jd['num_projects'][$lkey]:0);