* fix the bug.

This commit is contained in:
wangchunsheng
2009-11-07 01:40:38 +00:00
parent ae7e08de7a
commit c1ec210ba8
+1
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()