* change init lang of svn and git to common.

This commit is contained in:
wangyidong
2019-01-18 10:33:06 +08:00
parent 28f014d766
commit 91bb4a4ae2
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ class userModel extends model
$group = new stdClass();
$group->account = $user->account;
$group->group = $user->group;
$this->dao->insert(TABLE_USERGROUP)->data($group)->exec();
$this->dao->replace(TABLE_USERGROUP)->data($group)->exec();
}
unset($user->group);
$this->dao->insert(TABLE_USER)->data($user)->autoCheck()->exec();