* Fix bug#13973.

This commit is contained in:
qiyu-xie
2021-08-04 10:01:56 +08:00
parent 446cb5969c
commit 600fd53131
2 changed files with 5 additions and 2 deletions
-1
View File
@@ -48,7 +48,6 @@ class testcaseModel extends model
->setDefault('openedBy', $this->app->user->account)
->setDefault('openedDate', $now)
->setIF($this->config->systemMode == 'new' and $this->app->openApp == 'project', 'project', $this->session->project)
->setIF($this->config->systemMode == 'new' and $this->app->openApp == 'execution', 'execution', $this->session->execution)
->setIF($this->post->story != false, 'storyVersion', $this->loadModel('story')->getVersion((int)$this->post->story))
->remove('steps,expects,files,labels,stepType,forceNotReview')
->setDefault('story', 0)