* set story stage when creating story.

This commit is contained in:
chenfeiCF
2016-05-05 16:45:41 +08:00
parent f6b6786789
commit 6b923a1ca7
+1
View File
@@ -170,6 +170,7 @@ class storyModel extends model
if(!dao::isError())
{
$storyID = $this->dao->lastInsertID();
$this->setStage($storyID);
$this->file->saveUpload('story', $storyID, $extra = 1);
$data = new stdclass();