Merge branch 'master_xieqiyu_26545' into 'master'

* Fix bug#26545.

See merge request easycorp/zentaopms!4983
This commit is contained in:
王怡栋
2022-08-16 09:05:54 +00:00
+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);
}