Skip to content

Commit 9e1c47e

Browse files
authored
Merge pull request #3094 from catchpoint/fix_rerun
Unset key for resubmit test
2 parents 0b54592 + 080674d commit 9e1c47e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

www/runtest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@
146146
}
147147
if (array_key_exists('resubmit', $_POST)) {
148148
$test = GetTestInfo(trim($_POST['resubmit']));
149+
if (array_key_exists('key', $test)){
150+
$test['key'] = null;
151+
}
149152
if ($test) {
150153
unset($test['completed']);
151154
unset($test['started']);

www/work/getwork.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
$block = explode(',', $block_list);
4646
if (in_array($pc, $block)) {
4747
header("HTTP/1.1 403 Unauthorized");
48+
exit();
4849
}
4950
}
5051

0 commit comments

Comments
 (0)