* fix a bug #652.

This commit is contained in:
wangyidong
2014-11-27 06:46:49 +00:00
parent dca4f88056
commit d1aed6cc98
13 changed files with 38 additions and 31 deletions
+2 -2
View File
@@ -215,7 +215,7 @@ class projectModel extends model
->setDefault('openedVersion', $this->config->version)
->setDefault('team', $this->post->name)
->join('whitelist', ',')
->skipSpecial($this->config->project->editor->create['id'])
->stripTags($this->config->project->editor->create['id'], $this->config->allowedTags)
->remove('products, workDays, delta')
->get();
$this->dao->insert(TABLE_PROJECT)->data($project)
@@ -285,7 +285,7 @@ class projectModel extends model
->setIF($this->post->acl != 'custom', 'whitelist', '')
->setDefault('team', $this->post->name)
->join('whitelist', ',')
->skipSpecial($this->config->project->editor->create['id'])
->stripTags($this->config->project->editor->create['id'], $this->config->allowedTags)
->remove('products')
->get();
$this->dao->update(TABLE_PROJECT)->data($project)