From cda4b2e32412ee3afa7ffdd653c79a672daa8664 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Fri, 25 Sep 2020 16:39:08 +0800 Subject: [PATCH] * Add notes. --- module/story/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/model.php b/module/story/model.php index 8e0652123f..9326e98543 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -1383,6 +1383,7 @@ class storyModel extends model $story->plan = trim(str_replace(",$oldPlanID,", ',', ",$oldStory->plan,"), ','); if(empty($story->branch)) $story->plan .= ",$planID"; } + /* Fix bug #3529. */ if($planID and $this->session->currentProductType != 'normal' and $oldStory->branch == 0 and !isset($oldStoryStages[$storyID][$plan->branch])) { $story->stage = 'planned';