* adjust for reviewDate.

This commit is contained in:
tanghucheng
2022-01-30 12:16:20 +08:00
parent acb7a2678a
commit 41f254686a
+1 -1
View File
@@ -1283,7 +1283,7 @@ class storyModel extends model
->removeIF($this->post->result != 'reject', 'closedReason, duplicateStory, childStories')
->removeIF($this->post->result == 'reject' and $this->post->closedReason != 'duplicate', 'duplicateStory')
->removeIF($this->post->result == 'reject' and $this->post->closedReason != 'subdivided', 'childStories')
->add('reviewedDate', $now)
->add('reviewedDate', $date)
->add('reviewedBy', $oldStory->reviewedBy . ',' . $this->app->user->account)
->remove('result,preVersion,comment')
->get();