Merge branch 'sprint/237_liumengyi_fixbug' into 'master'

* Fix bug #26298, #25695, #27192, #25409, #27020, #23401.

See merge request easycorp/zentaopms!5262
This commit is contained in:
孙广明
2022-09-06 00:42:27 +00:00
13 changed files with 45 additions and 23 deletions
+10
View File
@@ -35,6 +35,16 @@ class taskModel extends model
if($this->post->selectTestStory)
{
foreach($this->post->testStory as $i => $storyID)
{
if(empty($storyID)) continue;
if($this->post->testEstStarted[$i] > $this->post->testDeadline[$i])
{
dao::$errors[] = "ID: $storyID {$this->lang->task->error->deadlineSmall}";
return false;
}
}
/* Check required fields when create test task. */
foreach($this->post->testStory as $i => $storyID)
{