diff --git a/module/bug/model.php b/module/bug/model.php index ad645aaab1..d5cbe3e878 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -431,7 +431,7 @@ class bugModel extends model if($bug->assignedTo != $oldBug->assignedTo) $bug->assignedDate = $now; if(($bug->resolvedBy != '' or $bug->resolution != '') and $oldBug->status != 'resolved') $bug->resolvedDate = $now; if($bug->resolution != '' and $bug->resolvedBy == '') $bug->resolvedBy = $this->app->user->account; - if($bug->resolution != '') + if($bug->resolution != '' and $bug->status != 'closed') { $bug->status = 'resolved'; $bug->confirmed = 1;