|
@@ -283,6 +283,7 @@ Class User extends Core
|
|
if ($data['user']['birthday']) {
|
|
if ($data['user']['birthday']) {
|
|
$data['user']['birthday'] = date('Y-m-d',$data['user']['birthday']);
|
|
$data['user']['birthday'] = date('Y-m-d',$data['user']['birthday']);
|
|
}
|
|
}
|
|
|
|
+ $data['user']['mid'] = -1;
|
|
$member = Dever::load('active/lib/user')->agent($data['user']);
|
|
$member = Dever::load('active/lib/user')->agent($data['user']);
|
|
if ($member) {
|
|
if ($member) {
|
|
$data['user']['mid'] = $member['id'];
|
|
$data['user']['mid'] = $member['id'];
|