* Add notes.

This commit is contained in:
tianshujie98
2020-09-25 16:39:08 +08:00
parent a70c2d0fad
commit cda4b2e324
+1
View File
@@ -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';