From 2be65e6d6f219d4554322fec8691912d42e2008b Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Thu, 17 Oct 2024 01:17:00 +0000 Subject: [PATCH] * [bug#56001] fix sonar. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index 8e6a53fd16..067ce90eb6 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -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)