Merge branch 'sprint214_leiyong_fix_bug' into 'master'

* Adjust Modified Fields.

See merge request easycorp/zentaopms!4499
This commit is contained in:
王怡栋
2022-07-13 03:12:56 +00:00
+1 -1
View File
@@ -2364,7 +2364,7 @@ class testcaseModel extends model
if(!$this->forceNotReview() and $stepChanged) $status = 'wait';
if(!empty($_POST['title']) and $case->title != $this->post->title) $stepChanged = true;
if(!empty($_post['precondition']) and $case->precondition != $this->post->precondition) $stepchanged = true;
if(!empty($_POST['precondition']) and $case->precondition != $this->post->precondition) $stepChanged = true;
if(!empty($_POST['labels'][0])) $stepChanged = true;
return array($stepChanged, $status);