From 23c572cab7fbb1174f3f40ef3dad1325243f6d48 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sat, 4 May 2013 00:52:40 +0000 Subject: [PATCH] * fix bug#410. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 22487045cc..99d33002d2 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -233,7 +233,7 @@ class bugModel extends model $bug->duplicateBug = $this->post->duplicateBugs[$bugID] ? $this->post->duplicateBugs[$bugID] : $oldBug->duplicateBug; if($bug->assignedTo != $oldBug->assignedTo) $bug->assignedDate = $now; - if($bug->resolvedBy != '' or $bug->resolution != '') $bug->resolvedDate = $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 != '') {