* fix the bug.

This commit is contained in:
wangchunsheng
2009-11-07 01:40:38 +00:00
parent 6675d8bf00
commit 1bd5fdd440

View File

@@ -55,6 +55,7 @@ class userModel extends model
$user = fixer::input('post')
->add('company', (int)$companyID)
->setDefault('join', '0000-00-00')
->setForce('password', md5($this->post->password))
->get();
$this->dao->insert(TABLE_USER)->data($user)
->autoCheck()