* Fix systemMode bug.
This commit is contained in:
@@ -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', ',')
|
||||
|
||||
Reference in New Issue
Block a user