* remove the delta field when create a project.

This commit is contained in:
wangchunsheng
2012-07-02 01:11:55 +00:00
parent c5f4fd37d2
commit 2295b4669c

View File

@@ -228,7 +228,7 @@ class projectModel extends model
->stripTags('name, code, team')
->setIF($this->post->acl != 'custom', 'whitelist', '')
->join('whitelist', ',')
->remove('products, workDays')
->remove('products, workDays, delta')
->get();
$this->dao->insert(TABLE_PROJECT)->data($project)
->autoCheck($skipFields = 'begin,end')