* Fix bug#25807.

This commit is contained in:
leiyong
2022-07-28 07:56:15 +00:00
parent 36a8fb9deb
commit 4d63e9fc36
3 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -2611,9 +2611,13 @@ class executionModel extends model
}
}
$projectID = $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq($executionID)->fetch('project');
if($this->config->systemMode == 'new')
{
$projectID = $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq($executionID)->fetch('project');
$this->session->set('project', $projectID);
$this->linkStory($projectID, $planStories, $planProducts);
}
$this->linkStory($executionID, $planStories, $planProducts);
if($this->config->systemMode == 'new') $this->linkStory($projectID, $planStories, $planProducts);
}
/**