* Finish task #4963.

This commit is contained in:
Yagami
2018-10-10 09:35:12 +08:00
parent d2095fa961
commit 18dbdd7f36
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1490,7 +1490,7 @@ class bug extends control
/* Get related objects title or names. */
$productsType = $this->dao->select('id, type')->from(TABLE_PRODUCT)->where('id')->in($relatedProductIdList)->fetchPairs();
$relatedModules = array('0' => '/') + $this->dao->select('id, name')->from(TABLE_MODULE)->where('id')->in($relatedModuleIdList)->fetchPairs();
$relatedModules = $this->loadModel('tree')->getOptionMenu($productID, 'bug');
$relatedStories = $this->dao->select('id,title')->from(TABLE_STORY) ->where('id')->in($relatedStoryIdList)->fetchPairs();
$relatedTasks = $this->dao->select('id, name')->from(TABLE_TASK)->where('id')->in($relatedTaskIdList)->fetchPairs();
$relatedBugs = $this->dao->select('id, title')->from(TABLE_BUG)->where('id')->in($relatedBugIdList)->fetchPairs();