많은 버그 수정
커맨드 실행 중 로그아웃 된 경우 버그 수정 국기 변경에 에러 있던 점 수정 등용장 수락시 송신자 명성 안 늘어나는 버그 수정
This commit is contained in:
@@ -27,7 +27,7 @@ $result = $restAPI->create_access_token($auth_code);
|
||||
|
||||
|
||||
if (Util::array_get($result['expires_in'], -1) <= 0) {
|
||||
die('알 수 없는 에러:'.$result['msg']);
|
||||
die('알 수 없는 에러:'.Util::array_get($result['msg'], ''));
|
||||
}
|
||||
|
||||
$session = Session::getInstance();
|
||||
@@ -48,7 +48,7 @@ $oauth_mode = 'login';
|
||||
|
||||
$me['code'] = Util::array_get($me['code'], 0);
|
||||
if($me['code']< 0){
|
||||
switch($me['msg']){
|
||||
switch(Util::array_get($me['msg'])){
|
||||
case 'NotRegisteredUserException':
|
||||
$oauth_mode = 'join';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user