From accd4feee52fc77bafd2ae325956d80baf456388 Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Wed, 13 Jul 2022 02:57:28 +0000 Subject: [PATCH] * Adjust Modified Fields. --- module/testcase/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/model.php b/module/testcase/model.php index b8b785de0d..2130aa43ea 100644 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -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);