From 9633228efec0f56cc02f9713a9787f3d9f55b880 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 16 Mar 2021 11:07:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=B9=B4=ED=8A=B8=20=ED=9B=84?= =?UTF-8?q?=EA=B8=B0=20=EA=B4=80=EB=A6=AC=EC=9E=90=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EC=97=90=EC=84=9C=20=EB=8B=B5=EB=B3=80=EC=8B=9C=20htm?= =?UTF-8?q?l=20=ED=83=9C=EA=B7=B8=EA=B0=80=20=EC=82=AC=EB=9D=BC=EC=A7=80?= =?UTF-8?q?=EB=8A=94=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 --- adm/shop_admin/itemuseformupdate.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/adm/shop_admin/itemuseformupdate.php b/adm/shop_admin/itemuseformupdate.php index c4ebc34f6..2246bcfc6 100644 --- a/adm/shop_admin/itemuseformupdate.php +++ b/adm/shop_admin/itemuseformupdate.php @@ -15,7 +15,12 @@ $posts = array(); $check_keys = array('is_subject', 'is_content', 'is_confirm', 'is_reply_subject', 'is_reply_content', 'is_id'); foreach($check_keys as $key){ - $posts[$key] = isset($_POST[$key]) ? clean_xss_tags($_POST[$key], 1, 1) : ''; + + if( in_array($key, array('is_content', 'is_reply_content')) ){ + $posts[$key] = isset($_POST[$key]) ? $_POST[$key] : ''; + } else { + $posts[$key] = isset($_POST[$key]) ? clean_xss_tags($_POST[$key], 1, 1) : ''; + } } if ($w == "u")