From fbff729b0a4db1fb86dcc6d08b16a1ee3c75e974 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 8 Jan 2010 09:07:54 +0000 Subject: [PATCH] * when resolve, log the resolution. --- trunk/module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/module/bug/control.php b/trunk/module/bug/control.php index a171f374c5..5fe4d53bc2 100644 --- a/trunk/module/bug/control.php +++ b/trunk/module/bug/control.php @@ -256,7 +256,7 @@ class bug extends control { $this->bug->resolve($bugID); if(dao::isError()) die(js::error(dao::getError())); - $actionID = $this->action->create('bug', $bugID, 'Resolved', $this->post->comment); + $actionID = $this->action->create('bug', $bugID, "Resolved as {$this->post->resolution}", $this->post->comment); $this->sendmail($bugID, $actionID); die(js::locate($this->createLink('bug', 'view', "bugID=$bugID"), 'parent')); }