diff --git a/plugin/lgxpay/AuthOnlyRes.php b/plugin/lgxpay/AuthOnlyRes.php index 1e0a94489..f5696237b 100644 --- a/plugin/lgxpay/AuthOnlyRes.php +++ b/plugin/lgxpay/AuthOnlyRes.php @@ -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']); } } diff --git a/shop/wishupdate.php b/shop/wishupdate.php index 9b721de7e..4a6b02ec6 100644 --- a/shop/wishupdate.php +++ b/shop/wishupdate.php @@ -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']}