From f35673af621e98e53fa93ee7c2709b118ddede06 Mon Sep 17 00:00:00 2001 From: thisgun Date: Sun, 10 Jan 2021 12:42:14 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=EB=84=88=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EC=95=88=EB=90=98=EB=8A=94=20=EC=98=A4?= =?UTF-8?q?=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/bannerformupdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/shop_admin/bannerformupdate.php b/adm/shop_admin/bannerformupdate.php index 1b8d30cb2..03e24402b 100644 --- a/adm/shop_admin/bannerformupdate.php +++ b/adm/shop_admin/bannerformupdate.php @@ -4,7 +4,7 @@ include_once('./_common.php'); check_demo(); -$w = isset($_POST['w']) ? $_POST['w'] : ''; +$w = isset($_REQUEST['w']) ? $_REQUEST['w'] : ''; if ($w == 'd') auth_check_menu($auth, $sub_menu, "d"); @@ -18,7 +18,7 @@ check_admin_token(); $bn_bimg = isset($_FILES['bn_bimg']['tmp_name']) ? $_FILES['bn_bimg']['tmp_name'] : ''; $bn_bimg_name = isset($_FILES['bn_bimg']['name']) ? $_FILES['bn_bimg']['name'] : ''; -$bn_id = isset($_POST['bn_id']) ? preg_replace('/[^0-9]/', '', $_POST['bn_id']) : 0; +$bn_id = isset($_REQUEST['bn_id']) ? preg_replace('/[^0-9]/', '', $_REQUEST['bn_id']) : 0; $bn_bimg_del = (isset($_POST['bn_bimg_del']) && $_POST['bn_bimg_del']) ? preg_replace('/[^0-9]/', '', $_POST['bn_id']) : 0; $bn_url = isset($_POST['bn_url']) ? strip_tags(clean_xss_attributes($bn_url)) : ''; $bn_alt = isset($_POST['bn_alt']) ? strip_tags(clean_xss_attributes($bn_alt)) : '';