diff --git a/module/story/model.php b/module/story/model.php index 71772259f9..cbf6744369 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -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. */