* Fix bug for port showimport.

This commit is contained in:
tanghucheng
2022-08-14 13:14:48 +08:00
parent 9a4d97f7ed
commit 935cb51b5b
7 changed files with 14 additions and 9 deletions
+1 -2
View File
@@ -3577,7 +3577,6 @@ class bugModel extends model
if($table) $relatedObjects = $this->dao->select($pairs)->from($table)->where('id')->in($relatedObjectIdList)->fetchPairs();
if(in_array($object, array('build','resolvedBuild'))) $relatedObjects= array('trunk' => $this->lang->trunk) + $relatedObjects;
return $relatedObjects;
return array('' => '', 0 => '') + $relatedObjects;
}
}