diff --git a/module/story/model.php b/module/story/model.php index f03d42e727..1c0258ab9f 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -555,7 +555,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');