* Finish task #41736.

This commit is contained in:
sgm0422
2021-08-27 13:52:59 +08:00
parent 81761d4918
commit 268eb0f161
-3
View File
@@ -1635,9 +1635,6 @@ class storyModel extends model
if(empty($oldPlanID)) $story->plan = $planID;
if($oldStory->branch) $story->plan = $planID;
/* Append the plan id to plan field if product is multi and story is all branch. */
if($this->session->currentProductType != 'normal' and empty($story->branch)) $story->plan .= ",$planID";
/* Change stage. */
if($planID and $oldStory->stage == 'wait') $story->stage = 'planned';
if($planID and $this->session->currentProductType != 'normal' and $oldStory->branch == 0)