From 5aafd5241fd68da6b80809dbeb2f149d991b2be4 Mon Sep 17 00:00:00 2001 From: Yagami Date: Fri, 4 Nov 2022 09:22:38 +0800 Subject: [PATCH] * Fix bug #29246. --- 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 5140c436c6..34749dcc79 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1148,7 +1148,7 @@ class bug extends control $assignedToList = array_filter($assignedToList); if(empty($assignedToList)) $assignedToList = $this->user->getPairs('devfirst|noclosed'); } - if($bug->assignedTo and !isset($assignedToList[$bug->assignedTo])) + if($bug->assignedTo and !isset($assignedToList[$bug->assignedTo]) and $bug->assignedTo != 'closed') { /* Fix bug #28378. */ $assignedTo = $this->user->getById($bug->assignedTo);