瀏覽代碼

Fixed bug where status is not being reset after decline.

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

+ 1 - 0
controllers/test_confirm.php

@@ -21,6 +21,7 @@ switch($action) {
 
 	case "decline":
 
+		$test->status = Test::STATUS_UNASSIGNED;
 		$test->tester_id = null;
 		$test->dts_due = null;
 		$test->dts_assigned = null;