네이버 소셜회원가입시 월/일 처리가 반대로 되는 현상 수정 (arrtres님,210727)
This commit is contained in:
@ -131,10 +131,10 @@ class Hybrid_Providers_Naver extends Hybrid_Provider_Model_OAuth2
|
||||
if( array_key_exists('birthday',$data) ){
|
||||
$tmp = explode("-",$data['birthday']);
|
||||
if( isset($tmp[0]) ){
|
||||
$this->user->profile->birthDay = $tmp[0];
|
||||
$this->user->profile->birthMonth = $tmp[0];
|
||||
}
|
||||
if( isset($tmp[1]) ){
|
||||
$this->user->profile->birthMonth = $tmp[1];
|
||||
$this->user->profile->birthDay = $tmp[1];
|
||||
}
|
||||
}
|
||||
$this->user->profile->email = (array_key_exists('email',$data))?$data['email']:"";
|
||||
|
||||
Reference in New Issue
Block a user