* Fix bug for bug export.

This commit is contained in:
tanghucheng
2022-09-14 14:42:44 +08:00
parent 8db145922d
commit 714dffe615
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3638,7 +3638,7 @@ class bugModel extends model
public function getRelatedObjects($object, $pairs = '')
{
/* Get bugs. */
$bugs = $this->dao->select('*')->from(TABLE_BUG)->where($this->session->bugQueryCondition)->fetchAll('id');
$bugs = $this->loadModel('port')->getQueryDatas('bug');
/* Get related objects id lists. */
$relatedObjectIdList = array();