瀏覽代碼

Fixes status miss.

Alan Lam 8 年之前
父節點
當前提交
e616412bb8
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      views/test_form.php

+ 1 - 1
views/test_form.php

@@ -1,6 +1,6 @@
 <div class="container mt-3 py-4">
 <div class="container mt-3 py-4">
 <?php
 <?php
-if($test->status == Test::STATUS_ASSIGNED) {
+if($test->status == Test::STATUS_CONFIRMED) {
 	$template->renderBeforeTestForm();
 	$template->renderBeforeTestForm();
 }
 }
 else if($test->status == Test::STATUS_STARTED) {
 else if($test->status == Test::STATUS_STARTED) {