diff --git a/module/story/model.php b/module/story/model.php index 9326e98543..2dd1320525 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -624,7 +624,6 @@ class storyModel extends model ->get(); if(isset($story->plan) and is_array($story->plan)) $story->plan = trim(join(',', $story->plan), ','); if(empty($_POST['product'])) $story->branch = $oldStory->branch; - if(empty($_POST['branch'])) $story->branch = 0; if(!empty($_POST['stages'])) { $oldStages = $this->dao->select('*')->from(TABLE_STORYSTAGE)->where('story')->eq($storyID)->fetchAll('branch');