From 920db9783e2002d39065ded48e33e998fc14cb6c Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 3 Dec 2012 08:00:04 +0000 Subject: [PATCH] * fix bug#366. --- module/story/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/model.php b/module/story/model.php index c32b774f92..83b3e47cec 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -218,6 +218,7 @@ class storyModel extends model } $storyID = $this->dao->lastInsertID(); + $this->setStage($storyID); $specData[$i]->story = $storyID; $specData[$i]->version = 1;