* Finish task #6406.

This commit is contained in:
Yagami
2019-10-11 15:02:51 +08:00
parent e0a667b5f8
commit 98ac711d6d
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1681,8 +1681,9 @@ class testcase extends control
*/
public function ajaxGetStatus($methodName, $caseID = 0)
{
$status = $this->testcase->getStatus($methodName, $caseID);
$case = $this->testcase->getByID($caseID);
$status = $this->testcase->getStatus($methodName, $case);
if($methodName == 'update') $status = zget($status, 1, '');
die($status);
}
}