From 1be5c6bbfda892fbb78b0a6249eeff1a9a07eb9d Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Wed, 28 Jul 2021 13:20:12 +0800 Subject: [PATCH] * Fix an error. --- 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 4c278c3985..595e66e427 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1413,7 +1413,7 @@ class docModel extends model foreach($sourceList as $type => $idList) { $table = $this->config->objectTables[$type]; - $title = in_array($type, array('story', 'bug', 'issue', 'case')) ? 'title' : 'name'; + $title = in_array($type, array('story', 'bug', 'issue', 'case', 'doc')) ? 'title' : 'name'; $name = $this->dao->select('id,' . $title)->from($table)->where('id')->in($idList)->fetchPairs('id'); $sourcePairs[$type] = $name; }