From c7762898157060a84aa3d5fbecdbff4681eb1867 Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Wed, 6 Apr 2022 16:00:00 +0800 Subject: [PATCH] * Fix bug #16780. --- module/my/view/bug.html.php | 5 ++++- module/story/model.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/module/my/view/bug.html.php b/module/my/view/bug.html.php index df4389c7d5..22af12fe81 100644 --- a/module/my/view/bug.html.php +++ b/module/my/view/bug.html.php @@ -109,7 +109,10 @@ pri?>' title='bug->priList, $bug->pri);?>'>bug->priList, $bug->pri)?> ' title='bug->confirmedList, $bug->confirmed);?>'>bug->confirmedList, $bug->confirmed)?> - createLink('bug', 'view', "bugID=$bug->id"), $bug->title, null, "style='color: $bug->color' title='{$bug->title}'");?> + + createLink('bug', 'view', "bugID=$bug->id"), $bug->title, null, "style='color: $bug->color' title='{$bug->title}'");?> + case) echo html::a(helper::createLink('testcase', 'view', "caseID=$bug->case&version=$bug->caseVersion"), "[" . $this->lang->testcase->common . "#$bug->case]", '', "class='bug' title='$bug->case'");?> + productLink == 'product-all' ? '' : "productID=$bug->product";?> $storyVersionList[$key]) $objectList[$key]->needconfirm = true; } - return is_object($data) ? current($objectList) : $objectList; + return is_object($data) ? reset($objectList) : $objectList; } /**