[php5_debug] 회원가입 로직에서 DB에 INSERT수행하는 문구에서 column명에 따옴표가 누락되어 json데이터에 php notice가 반환되어 적절하게 핸들링되지 못하고 있는 부분 수정.

This commit is contained in:
2018-01-17 13:06:34 +09:00
parent 9a1d23f8b9
commit 8c0d913e89
+8 -8
View File
@@ -160,14 +160,14 @@ if($response['result'] != 'SUCCESS') {
// 멤버 등록 // 멤버 등록
$DB->InsertArray('MEMBER', array( $DB->InsertArray('MEMBER', array(
ID => $id, 'ID' => $id,
PW => $pw, 'PW' => $pw,
PID => $pid, 'PID' => $pid,
NAME => $name, 'NAME' => $name,
EMAIL => $email, 'EMAIL' => $email,
IP => $_SERVER['REMOTE_ADDR'], 'IP' => $_SERVER['REMOTE_ADDR'],
GRADE => 1, 'GRADE' => 1,
REG_DATE => _Time::DatetimeNow() 'REG_DATE' => _Time::DatetimeNow()
)); ));
$response['result'] = 'SUCCESS'; $response['result'] = 'SUCCESS';