This commit is contained in:
caoyanyi
2022-04-08 09:18:27 +08:00
parent 020834ec7a
commit a6a56ea4fe
+1 -1
View File
@@ -499,7 +499,7 @@ class caselibModel extends model
$stepData->case = $caseID;
$stepData->version = 1;
$stepData->desc = htmlSpecialString($desc);
$stepData->expect = htmlSpecialString(trim($data->expect[$key][$id]));
$stepData->expect = htmlSpecialString(trim($this->post->expect[$key][$id]));
$this->dao->insert(TABLE_CASESTEP)->data($stepData)->autoCheck()->exec();
if($stepData->type == 'group') $parentStepID = $this->dao->lastInsertID();
if($stepData->type == 'step') $parentStepID = 0;