mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Fix #945
This commit is contained in:
parent
3716854419
commit
4bd04c88e6
@ -82,7 +82,7 @@ $active = ($ui->active('active', 'post')) ? $ui->active('active', 'post') : 'Y';
|
||||
$useractive = ($ui->active('useractive', 'post')) ? $ui->active('useractive', 'post') : 'Y';
|
||||
$accountType = ($ui->smallletters('accounttype', 1, 'post')) ? $ui->smallletters('accounttype', 1, 'post') : '';
|
||||
$password = ($ui->password('password', 255, 'post')) ? $ui->password('password', 255, 'post') : passwordgenerate(10);
|
||||
$birthday = date('Y-m-d', strtotime($ui->isDate('birthday', 'post')));
|
||||
$birthday = ($ui->isDate('birthday', 'post')) ? date('Y-m-d', strtotime($ui->isDate('birthday', 'post'))) : date('Y-m-d', strtotime("now"));
|
||||
$maxuser = ($ui->id('maxuser', 10, 'post')) ? $ui->id('maxuser', 10, 'post') : 0;
|
||||
$maxgserver = ($ui->id('maxgserver', 10, 'post')) ? $ui->id('maxgserver', 10, 'post') : 0;
|
||||
$maxvoserver = ($ui->id('maxvoserver', 10, 'post')) ? $ui->id('maxvoserver', 10, 'post') : 0;
|
||||
|
@ -49,7 +49,7 @@ $defined['userdata'] = array(
|
||||
'token' => array("Type"=>"varchar(32)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'name' => array("Type"=>"varchar(255)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'vname' => array("Type"=>"varchar(255)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'birthday' => array("Type"=>"timestamp","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'birthday' => array("Type"=>"date","Null"=>"YES","Key"=>"","Default"=>"2000-01-01","Extra"=>""),
|
||||
'mail' => array("Type"=>"varchar(50)","Null"=>"NO","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'phone' => array("Type"=>"varchar(50)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
'fax' => array("Type"=>"varchar(50)","Null"=>"YES","Key"=>"","Default"=>"","Extra"=>""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user