Merge branch 'sprint/zentaopms262_mayue_bug#29945' into 'master'
* Optimize code about bug #29945. See merge request easycorp/zentaopms!6307
This commit is contained in:
@@ -151,7 +151,7 @@ class productplan extends control
|
||||
$oldBranch = array($planID => $plan->branch);
|
||||
|
||||
/* Get the parent plan pair exclusion itself. */
|
||||
$parentPlanPairs = $this->productplan->getTopPlanPairs($productID, $branchID);
|
||||
$parentPlanPairs = $this->productplan->getTopPlanPairs($plan->product, $plan->branch);
|
||||
unset($parentPlanPairs[$planID]);
|
||||
$this->view->parentPlanPairs = $parentPlanPairs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user