* Fix create substory bug.

This commit is contained in:
songchenxuan
2022-04-22 10:57:02 +08:00
parent 4aa567757b
commit 124465c1b4
+7
View File
@@ -252,6 +252,13 @@ class storyModel extends model
if(!dao::isError())
{
$storyID = $this->dao->lastInsertID();
if($story->parent)
{
$stories = array($storyID);
$this->subdivide($story->parent, $stories);
}
$this->file->updateObjectID($this->post->uid, $storyID, $story->type);
$this->file->saveUpload($story->type, $storyID, $extra = 1);