diff --git a/shop/wishupdate.php b/shop/wishupdate.php index 798f106bc..a0eadb826 100644 --- a/shop/wishupdate.php +++ b/shop/wishupdate.php @@ -2,7 +2,7 @@ include_once('./_common.php'); if (!$is_member) - alert("회원 전용 서비스 입니다.", G4_BBS_URL."/login.php?url=".urlencode("$_SERVER['PHP_SELF']?it_id=$it_id")); + alert('회원 전용 서비스 입니다.', G4_BBS_URL.'/login.php?url='.urlencode($_SERVER['PHP_SELF'].'?it_id='.$it_id)); if ($w == "d") { @@ -14,7 +14,7 @@ if ($w == "d") } else if ($w == "alldelete") { - $sql = " delete from {$g4['yc4_wish_table'] + $sql = " delete from {$g4['yc4_wish_table']} where mb_id = '{$member['mb_id']}' "; sql_query($sql); }