* Fix systemMode bug.

This commit is contained in:
wangyuting2
2022-10-10 07:32:11 +00:00
parent 8fdde5fa0e
commit aa9bc2b8ec
107 changed files with 239 additions and 522 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class testreportModel extends model
$execution = $this->loadModel('execution')->getByID($this->post->execution);
$data = fixer::input('post')
->stripTags($this->config->testreport->editor->create['id'], $this->config->allowedTags)
->setIF($this->config->systemMode == 'new', 'project', $execution->project)
->setDefault('project', $execution->project)
->add('createdBy', $this->app->user->account)
->add('createdDate', helper::now())
->join('stories', ',')