* adjust code.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-25 09:06:53 +00:00
parent 49cf4a6287
commit 45ed4750a9
8 changed files with 33 additions and 12 deletions
+1
View File
@@ -44,6 +44,7 @@ class bugModel extends model
$bug = fixer::input('post')
->add('openedBy', $this->app->user->account)
->add('openedDate', $now)
->add('status', 'active')
->setDefault('project,story,task', 0)
->setDefault('openedBuild', '')
->setIF($this->post->assignedTo != '', 'assignedDate', $now)