* fix bugs.

This commit is contained in:
wangyidong
2015-07-01 10:29:06 +08:00
parent b70dbadc03
commit ecf44af91d
15 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ class testtaskModel extends model
*
* */
$postData = fixer::input('post')->get();
$caseResult = $postData->result ? $postData->result : 'pass';
$caseResult = isset($postData->result) ? $postData->result : 'pass';
if($postData->steps)
{
foreach($postData->steps as $stepID => $stepResult)