From 77b98bf42dd7629349933ab457a2ac473dedde4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EC=84=A0=EA=B7=BC?= Date: Wed, 23 Oct 2019 06:25:13 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=EC=88=98=EC=A0=95=20#=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=EC=97=90=EC=84=9C=20=EB=B0=B0?= =?UTF-8?q?=EB=84=88=20=EC=84=A4=EC=A0=95=EC=8B=9C=20=EB=A7=81=ED=81=AC?= =?UTF-8?q?=ED=83=80=EC=9E=85=EC=9D=84=20=EC=83=88=EC=B0=BD=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=84=A4=EC=A0=95=EC=95=88=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0=20#=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=EA=B8=80=20=EC=82=AD=EC=A0=9C=20=EC=98=A4=EC=9E=91?= =?UTF-8?q?=EB=8F=99=20=ED=95=98=EB=8A=94=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wheeparam/application/controllers/admin/Management.php | 2 +- wheeparam/application/libraries/Boardlib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wheeparam/application/controllers/admin/Management.php b/wheeparam/application/controllers/admin/Management.php index 8f6ba93..170a094 100644 --- a/wheeparam/application/controllers/admin/Management.php +++ b/wheeparam/application/controllers/admin/Management.php @@ -653,7 +653,7 @@ class Management extends WB_Controller { $data['ban_name'] = $this->input->post('ban_name', TRUE); $data['ban_link_use'] = $this->input->post('ban_link_use', TRUE) == 'Y' ? 'Y' : 'N'; $data['ban_link_url'] = $this->input->post('ban_link_url', TRUE, ""); - $data['ban_link_type'] = $this->input->post('ban_link_url', TRUE) == 'Y' ? 'Y': 'N'; + $data['ban_link_type'] = $this->input->post('ban_link_type', TRUE) == 'Y' ? 'Y': 'N'; $data['ban_status'] = $this->input->post('ban_status', TRUE) == 'H' ? 'H' : 'Y'; $data['ban_timer_use'] = $this->input->post('ban_timer_use', TRUE) == 'Y' ? 'Y' : 'N'; $data['ban_timer_start'] = $this->input->post('ban_timer_start', TRUE, '0000-00-00 00:00:00'); diff --git a/wheeparam/application/libraries/Boardlib.php b/wheeparam/application/libraries/Boardlib.php index e3b340d..90312a6 100644 --- a/wheeparam/application/libraries/Boardlib.php +++ b/wheeparam/application/libraries/Boardlib.php @@ -1253,7 +1253,7 @@ class Boardlib { /** * 수정이나 삭제 권한을 확인한다. */ - private function _check_modify_auth($brd_key, $post_idx="") + public function _check_modify_auth($brd_key, $post_idx="") { if(empty($post_idx)) return; if(PAGE_ADMIN) return; // 관리자 페이지일 경우도 리턴