Merge branch 'pailei2_zhouxin_50409' into 'pailei2'

Fix bug #50409.

See merge request easycorp/zentaopms!2229
This commit is contained in:
孙广明
2022-03-14 06:21:00 +00:00
+3
View File
@@ -1986,6 +1986,9 @@ class storyModel extends model
->remove('comment')
->get();
$this->dao->update(TABLE_STORY)->data($story)->autoCheck()->where('id')->eq($storyID)->exec();
if($this->post->status == 'active') $this->dao->delete()->from(TABLE_STORYREVIEW)->where('story')->eq($storyID)->exec();
$this->setStage($storyID);
/* Update parent story status. */