From f2aa066bdcb90ddec91f691912df5b5d7173ff3c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 11 Apr 2022 13:19:18 +0800 Subject: [PATCH] * Fix bug #19261. --- module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 68fd686a73..7d55a0a81e 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1587,7 +1587,7 @@ class bug extends control } } - $projectID = $this->lang->navGroup->bug == 'project' ? $this->session->project : 0; + $projectID = $bug->project; $productID = $bug->product; $users = $this->user->getPairs('noclosed'); $assignedTo = $bug->openedBy;