* Finish task #41736.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user