* Fix bug#26545.

This commit is contained in:
xieqiyu
2022-08-16 16:36:03 +08:00
parent 61802828b3
commit 7ecf79a163
+1 -1
View File
@@ -2534,7 +2534,7 @@ class executionModel extends model
$this->story->setStage($storyID);
$this->linkCases($executionID, (int)$products[$storyID], $storyID);
$action = $executionID == $this->session->project ? 'linked2project' : 'linked2execution';
$action = $execution->type == 'project' ? 'linked2project' : 'linked2execution';
if($action == 'linked2execution' and $execution->type == 'kanban') $action = 'linked2kanban';
$this->action->create('story', $storyID, $action, '', $executionID);
}