Merge branch 'zentaopms_283_task_#82073' into 'zentaopms_283'

* Finish task #82073.

See merge request easycorp/zentaopms!6695
This commit is contained in:
王怡栋
2023-01-05 03:11:17 +00:00
+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';