diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/admin/problem.php | 3 | ||||
| -rw-r--r-- | src/version | 2 | ||||
| -rw-r--r-- | src/versionnum.php | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/admin/problem.php b/src/admin/problem.php index 9024544..957c9da 100644 --- a/src/admin/problem.php +++ b/src/admin/problem.php @@ -231,6 +231,9 @@ for ($i=0; $i<count($prob); $i++) { $param['fake'] = 'f'; $param['colorname'] = trim($_POST["colorname" . $prob[$i]['number']]); $param['color'] = trim($_POST["color" . $prob[$i]['number']]); + if (isset ($prob[$i]['autojudge'])) { + $param['autojudge'] = ((integer) $prob[$i]['autojudge']); + } DBNewProblem ($_SESSION["usertable"]["contestnumber"], $param); } ForceLoad("problem.php"); diff --git a/src/version b/src/version index 0e65cc2..03f4017 100644 --- a/src/version +++ b/src/version @@ -1 +1 @@ -boca-1.5.19-1 +boca-1.5.23 diff --git a/src/versionnum.php b/src/versionnum.php index 15f50f9..c0a025e 100644 --- a/src/versionnum.php +++ b/src/versionnum.php @@ -1,5 +1,5 @@ <?php -$BOCAVERSION='boca-1.5.17'; -$YEAR='2023'; +$BOCAVERSION='boca-1.5.23'; +$YEAR='2025'; ?> |