* Fix bug#3516.
This commit is contained in:
@@ -659,12 +659,12 @@ class testcaseModel extends model
|
||||
$case = fixer::input('post')
|
||||
->add('version', $version)
|
||||
->setIF($this->post->story != false and $this->post->story != $oldCase->story, 'storyVersion', $this->loadModel('story')->getVersion($this->post->story))
|
||||
->setIF(!$this->post->linkCase, 'linkCase', '')
|
||||
->setDefault('lastEditedBy', $this->app->user->account)
|
||||
->add('lastEditedDate', $now)
|
||||
->setDefault('story,branch', 0)
|
||||
->join('stage', ',')
|
||||
->join('linkCase', ',')
|
||||
->setIF(!$this->post->linkCase, 'linkCase', '')
|
||||
->setForce('status', $status)
|
||||
->cleanInt('story,product,branch,module')
|
||||
->remove('comment,steps,expects,files,labels,stepType')
|
||||
|
||||
Reference in New Issue
Block a user