* fix bugs #746,747.

This commit is contained in:
wangyidong
2015-10-08 15:52:49 +08:00
parent 0138d6f7f9
commit 2495cae340
7 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ class userModel extends model
$oldUser = $this->getById($userID);
$userID = (int)$userID;
$userID = $oldUser->id;
$user = fixer::input('post')
->setDefault('join', '0000-00-00')
->setIF($this->post->password1 != false, 'password', md5($this->post->password1))