From 3ff5735324209f92faaedf91d05281e30084947b Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 17 Jan 2014 10:47:56 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=9B=84=EA=B8=B0=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/itemuseformupdate.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shop/itemuseformupdate.php b/shop/itemuseformupdate.php index 6c8c9d907..bd8ab5451 100644 --- a/shop/itemuseformupdate.php +++ b/shop/itemuseformupdate.php @@ -8,7 +8,7 @@ if (!$is_member) { // 사용후기 작성 설정에 따른 체크 check_itemuse_write(); -$it_id = escape_trim($_POST['it_id']); +$it_id = escape_trim($_REQUEST['it_id']); $is_subject = escape_trim($_POST['is_subject']); $is_content = escape_trim($_POST['is_content']); $is_name = escape_trim($_POST['is_name']); @@ -114,5 +114,8 @@ else if ($w == "d") update_use_avg($it_id); -alert_opener($alert_msg, $url); +if($w == 'd') + alert($alert_msg, $url); +else + alert_opener($alert_msg, $url); ?> \ No newline at end of file