* Add notes.

This commit is contained in:
tianshujie98
2020-09-25 16:35:16 +08:00
parent 60e9877545
commit 35f538c5ce
+1
View File
@@ -1256,6 +1256,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';