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; // 관리자 페이지일 경우도 리턴