From fb33ebbeaa0e32afee8a19626cf5ab4928a2ec3a Mon Sep 17 00:00:00 2001 From: liuruogu Date: Thu, 22 Sep 2022 00:47:28 +0000 Subject: [PATCH] * Fix bug #27645. --- module/product/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index 46d2a89e87..44093fcb7c 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -316,7 +316,7 @@ class product extends control $productName = ($isProjectStory and empty($productID)) ? $this->lang->product->all : $this->products[$productID]; /* Assign. */ - $this->view->title = $productName . $this->lang->colon . $this->lang->product->browse; + $this->view->title = $productName . $this->lang->colon . ($storyType === 'story' ? $this->lang->product->browse : $this->lang->product->requirement); $this->view->position[] = $productName; $this->view->position[] = $this->lang->product->browse; $this->view->productID = $productID;