* fix the bug of activate.

This commit is contained in:
wangchunsheng
2010-02-26 02:54:39 +00:00
parent 342c4e3448
commit 57633a83d6

View File

@@ -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')