From 20cceec09083082999664919e82a3658d16d688c Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 28 Apr 2018 00:00:46 +0900 Subject: [PATCH] =?UTF-8?q?IE11=EC=97=90=EC=84=9C=20javascript=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20argument=20=EC=95=88=EB=90=98=EB=8A=94=20=EA=B2=83?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 7ed831fe..30eaadc3 100644 --- a/index.php +++ b/index.php @@ -36,7 +36,13 @@ if ($session->isLoggedIn()) { var oauthMode = null; -function getOAuthToken(mode='login', scope_list = null){ +function getOAuthToken(mode, scope_list){ + if(mode === undefined){ + mode = 'login'; + } + if(scope_list === undefined){ + scope_list = null; + } oauthMode = mode; var url = 'https://kauth.kakao.com/oauth/authorize?'+ 'client_id=&'+