* Finish task #82073.

This commit is contained in:
daitingting
2023-01-05 03:05:51 +00:00
parent a846499f92
commit f8df2cd571
+1 -1
View File
@@ -863,7 +863,7 @@ class bugModel extends model
if($bug->assignedTo != $oldBug->assignedTo) $bug->assignedDate = $now;
if($bug->resolution != '') $bug->confirmed = 1;
if(($bug->resolvedBy != '' or $bug->resolution != '') and $oldBug->status != 'closed')
if(($bug->resolvedBy != '' or $bug->resolution != '') and strpos(',resolved,closed,', ",{$oldBug->status},") === false)
{
$bug->resolvedDate = $now;
$bug->status = 'resolved';