* code for task#2146.

This commit is contained in:
xia0ta0
2014-12-12 10:27:43 +08:00
parent 118d2e9a22
commit 1228ad8b1f
+1 -1
View File
@@ -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;