* [bug#56001] fix sonar.

This commit is contained in:
qixinzhi
2024-10-17 09:21:50 +08:00
committed by 周鑫
parent 94cf7a005b
commit 2be65e6d6f
+1 -1
View File
@@ -2154,7 +2154,7 @@ class docModel extends model
$project = $execution ? $this->loadModel('project')->getByID((int)$execution->project) : '';
if($project && !$project->hasProduct) $storyIdList = $this->dao->select('story')->from(TABLE_PROJECTSTORY)->where('project')->eq($executionID)->fetchPairs('story', 'story');
$storyIdList = $storyIdList ? join(',', $storyIdList) : '';
$storyIdList = $storyIdList ? implode(',', $storyIdList) : '';
$taskPairs = $this->dao->select('id')->from(TABLE_TASK)
->where('execution')->eq($executionID)