We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05b8326 + fb6cd98 commit b479258Copy full SHA for b479258
www/running.inc
@@ -39,7 +39,9 @@
39
<div id="runningHeader" class="box">
40
<?php
41
$status = GetTestStatus($id, true);
42
- if ($status['statusCode'] < 400 && (!array_key_exists('startTime', $status) || !$status['startTime'])) {
+ $cp_scheduler = GetSetting('cp_scheduler');
43
+ $has_scheduler = isset($cp_scheduler) && strlen($cp_scheduler) > 0;
44
+ if (!$has_scheduler && $status['statusCode'] < 400 && (!array_key_exists('startTime', $status) || !$status['startTime'])) {
45
?>
46
<form class="cancel_form" action="/cancelTest.php" method="get">
47
<input type="hidden" name="test" value="<?php echo $id;?>">
0 commit comments