From 57633a83d68cb54be6bc6a7e30a6ac254ee30984 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 26 Feb 2010 02:54:39 +0000 Subject: [PATCH] * fix the bug of activate. --- trunk/module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/module/bug/model.php b/trunk/module/bug/model.php index d4454ac0c1..a46cd710c7 100644 --- a/trunk/module/bug/model.php +++ b/trunk/module/bug/model.php @@ -158,7 +158,7 @@ class bugModel extends model $oldBug = $this->getById($bugID); $now = date('Y-m-d H:i:s'); $bug = fixer::input('post') - ->add('assignedTo', $oldBug->resolvedBy) + ->setDefault('assignedTo', $oldBug->resolvedBy) ->add('assignedDate', $now) ->add('resolution', '') ->add('status', 'active')