Merge branch 'pailei2_zhouxin_50409' into 'pailei2'
Fix bug #50409. See merge request easycorp/zentaopms!2229
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user