From df57c956364f233c6f92ed40dcc0f4bfb5208a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=8D=8E=E4=BC=9F?= Date: Wed, 13 Apr 2022 09:59:37 +0800 Subject: [PATCH] *Fix bug#21668 --- module/product/view/browse.html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index 26c870a36a..18677b8f34 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -536,10 +536,9 @@ $projectIDParam = $isProjectStory ? "projectID=$projectID&" : ''; foreach($plans as $planID => $plan) { $position = stripos($plan, '/'); - $planLabel = $position === false ? $plan : ('' . substr($plan, 0, $position) . '' . substr($plan, $position + 1)); $searchKey = $withSearch ? ('data-key="' . zget($plansPinYin, $plan, '') . '"') : ''; $actionLink = $this->createLink('story', 'batchChangePlan', "planID=$planID"); - echo html::a('#', $planLabel, '', "$searchKey title='{$plan}' onclick=\"setFormAction('$actionLink', 'hiddenwin', '#productStoryForm')\" onmouseover=\"setBadgeStyle(this, true);\" onmouseout=\"setBadgeStyle(this, false)\""); + echo html::a('#', $plan, '', "$searchKey title='{$plan}' onclick=\"setFormAction('$actionLink', 'hiddenwin', '#productStoryForm')\" onmouseover=\"setBadgeStyle(this, true);\" onmouseout=\"setBadgeStyle(this, false)\""); } ?>