diff --git a/module/execution/zen.php b/module/execution/zen.php index 1310d1c6e7..6829c10e12 100644 --- a/module/execution/zen.php +++ b/module/execution/zen.php @@ -2004,8 +2004,9 @@ class executionZen extends execution array_map(function($executionProduct) use(&$multiBranchProduct){if($executionProduct->type != 'normal') $multiBranchProduct = true;}, $executionProductList); $importPlanStoryTips = $multiBranchProduct ? $this->lang->execution->importBranchPlanStory : $this->lang->execution->importPlanStory; - $confirmURL = inlink('create', "projectID=$projectID&executionID=$executionID©ExecutionID=&planID=$planID&confirm=yes"); - $cancelURL = inlink('create', "projectID=$projectID&executionID=$executionID"); + if($execution->type == 'stage') $importPlanStoryTips = str_replace($this->lang->executionCommon, $this->lang->execution->stage, $importPlanStoryTips); + $confirmURL = inlink('create', "projectID=$projectID&executionID=$executionID©ExecutionID=&planID=$planID&confirm=yes"); + $cancelURL = inlink('create', "projectID=$projectID&executionID=$executionID"); return $this->send(array('result' => 'success', 'load' => array('confirm' => $importPlanStoryTips, 'confirmed' => $confirmURL, 'canceled' => $cancelURL))); } }