+ complete task #251:add files to testcase.

* adjust task and bug model code.
This commit is contained in:
fujia
2010-07-17 05:39:30 +00:00
parent 02dcd61981
commit 5a619a2ca8
8 changed files with 20 additions and 16 deletions

View File

@@ -104,7 +104,7 @@ class bugModel extends model
$bug = fixer::input('post')
->cleanInt('product,module,severity,project,story,task')
->specialChars('title,steps,keyword')
->remove('comment,fiels,labels')
->remove('comment,files,labels')
->setDefault('project,module,project,story,task,duplicateBug', 0)
->setDefault('openedBuild', '')
->add('lastEditedBy', $this->app->user->account)