PHP8 버전 대응 코드 수정

This commit is contained in:
thisgun
2021-03-16 11:01:52 +09:00
parent 9367862f4b
commit 9e0fc19c0d
2 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ if ($xpay->TX()) {
if($mb_dupinfo) {
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
$row = sql_fetch($sql);
if ($row['mb_id']) {
if (isset($row['mb_id']) && $row['mb_id']) {
alert_close("입력하신 본인확인 정보로 가입된 내역이 존재합니다.\\n회원아이디 : ".$row['mb_id']);
}
}

View File

@ -21,10 +21,10 @@ if ($w == "d")
}
else
{
$it_id = isset($_POST['it_id']) ? $_POST['it_id'] : null;
$it_id = isset($_REQUEST['it_id']) ? $_REQUEST['it_id'] : null;
if(is_array($it_id))
$it_id = $_POST['it_id'][0];
$it_id = $_REQUEST['it_id'][0];
$it_id = safe_replace_regex($it_id, 'it_id');
@ -41,7 +41,7 @@ else
// 상품정보 체크
$row = get_shop_item($it_id, true);
if(!$row['it_id'])
if(! (isset($row['it_id']) && $row['it_id']))
alert('상품정보가 존재하지 않습니다.', G5_SHOP_URL);
$sql = " select wi_id from {$g5['g5_shop_wish_table']}