diff --git a/admin/judges_sa.php b/admin/judges_sa.php index 7abb57c..8b2f3ce 100644 --- a/admin/judges_sa.php +++ b/admin/judges_sa.php @@ -81,7 +81,7 @@ function set_percent($n) $p = floor($n); TRACE("Progress: $p\%\n"); mysql_query("UPDATE config SET val='$p' WHERE - var='judge_scheduler_precent' AND year=0"); + var='judge_scheduler_percent' AND year=0"); } diff --git a/admin/judges_schedulerconfig.php b/admin/judges_schedulerconfig.php index c174f38..ded5883 100644 --- a/admin/judges_schedulerconfig.php +++ b/admin/judges_schedulerconfig.php @@ -39,7 +39,7 @@ ogram; see the file COPYING. If not, write to "min_judges_per_team", "max_judges_per_team", "effort", "project_status") ); config_editor_require_vars("Judge Scheduler", 0, - array( "judge_scheduler_precent", + array( "judge_scheduler_percent", "judge_scheduler_activity" ) ); config_editor("Judge Scheduler", $config['FAIRYEAR'], "var", $_SERVER['PHP_SELF']);