From 55c57079dff6f70bfcfea90f0b35ec729747ea3d Mon Sep 17 00:00:00 2001 From: JackWuLieHao Date: Thu, 29 Mar 2018 16:17:09 +0800 Subject: [PATCH] * Finish tash #3797 --- module/user/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/model.php b/module/user/model.php index 7eb37538d1..d505916c33 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -210,7 +210,7 @@ class userModel extends model if(strtolower($_POST['account']) == 'guest') return false; $user = fixer::input('post') - ->setDefault('join', $this->post->join) + ->setDefault('join', '0000-00-00' ) ->setIF($this->post->password1 != false, 'password', md5($this->post->password1)) ->setIF($this->post->password1 == false, 'password', '') ->setIF($this->post->email != false, 'email', trim($this->post->email))