Convert toBugs of case to an array of objects.

This commit is contained in:
liumengyi
2023-06-01 10:54:04 +08:00
parent 945ab76bac
commit ce2d397cbc
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -318,9 +318,9 @@
<tr>
<td class='linkBugTitles'>
<?php
foreach($case->toBugs as $bugID => $bugTitle)
foreach($case->toBugs as $bugID => $bug)
{
echo html::a($this->createLink('bug', 'view', "bugID=$bugID", '', true), "#$bugID " . $bugTitle, '', "class='iframe' data-width='80%' title='$bugTitle'") . '<br />';
echo html::a($this->createLink('bug', 'view', "bugID=$bugID", '', true), "#$bugID " . $bug->title, '', "class='iframe' data-width='80%' title='$bug->title'") . '<br />';
}
?>
</td>