* Fix lastEditDate bug.

This commit is contained in:
Yagami
2019-03-11 17:17:11 +08:00
parent bdde3be91e
commit e05ed035f6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -659,7 +659,7 @@ class testcaseModel extends model
->add('version', $version)
->setIF($this->post->story != false and $this->post->story != $oldCase->story, 'storyVersion', $this->loadModel('story')->getVersion($this->post->story))
->setDefault('lastEditedBy', $this->app->user->account)
->setDefault('lastEditedDate', $now)
->add('lastEditedDate', $now)
->setDefault('story,branch', 0)
->join('stage', ',')
->join('linkCase', ',')