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)