print_result 함수에서 오류가 있을 때만 exit 되도록 수정
This commit is contained in:
@ -10,7 +10,8 @@ if($_POST['js'] == "on") {
|
||||
function print_result($error, $count)
|
||||
{
|
||||
echo '{ "error": "' . $error . '", "count": "' . $count . '" }';
|
||||
exit;
|
||||
if($error)
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!$is_member)
|
||||
|
||||
Reference in New Issue
Block a user