diff --git a/app/Controllers/Article/Dept.php b/app/Controllers/Article/Dept.php index 74f56d7..f343a1e 100644 --- a/app/Controllers/Article/Dept.php +++ b/app/Controllers/Article/Dept.php @@ -267,9 +267,9 @@ class Dept extends BaseController public function detail($id): string { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/Article/Record.php b/app/Controllers/Article/Record.php index 6cf6d9a..5214db7 100644 --- a/app/Controllers/Article/Record.php +++ b/app/Controllers/Article/Record.php @@ -120,9 +120,9 @@ class Record extends BaseController public function detail($id): string { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M702.php b/app/Controllers/V2/M702.php index f59a5c8..b537033 100644 --- a/app/Controllers/V2/M702.php +++ b/app/Controllers/V2/M702.php @@ -163,9 +163,9 @@ class M702 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M703.php b/app/Controllers/V2/M703.php index 1c591fc..96b2ebe 100644 --- a/app/Controllers/V2/M703.php +++ b/app/Controllers/V2/M703.php @@ -125,9 +125,9 @@ class M703 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M704.php b/app/Controllers/V2/M704.php index 93f2bcd..9b26b5d 100644 --- a/app/Controllers/V2/M704.php +++ b/app/Controllers/V2/M704.php @@ -121,9 +121,9 @@ class M704 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M705.php b/app/Controllers/V2/M705.php index ce0df30..3071782 100644 --- a/app/Controllers/V2/M705.php +++ b/app/Controllers/V2/M705.php @@ -150,9 +150,9 @@ class M705 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M706.php b/app/Controllers/V2/M706.php index 52e0080..8800edb 100644 --- a/app/Controllers/V2/M706.php +++ b/app/Controllers/V2/M706.php @@ -110,9 +110,9 @@ class M706 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M708.php b/app/Controllers/V2/M708.php index d3a8f0a..4e1ad57 100644 --- a/app/Controllers/V2/M708.php +++ b/app/Controllers/V2/M708.php @@ -118,9 +118,9 @@ class M708 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M709.php b/app/Controllers/V2/M709.php index 4840ddf..3a3589e 100644 --- a/app/Controllers/V2/M709.php +++ b/app/Controllers/V2/M709.php @@ -117,9 +117,9 @@ class M709 extends BaseController // 상세화면 public function detail($id) { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M712.php b/app/Controllers/V2/M712.php index c877d74..38d7a21 100644 --- a/app/Controllers/V2/M712.php +++ b/app/Controllers/V2/M712.php @@ -124,9 +124,9 @@ class M712 extends BaseController public function detail($id): string { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Controllers/V2/M713.php b/app/Controllers/V2/M713.php index d586b3f..262934c 100644 --- a/app/Controllers/V2/M713.php +++ b/app/Controllers/V2/M713.php @@ -121,9 +121,9 @@ class M713 extends BaseController // 상세화면 public function detail($id): string { - $id = (int) $id; + $id = (string) $id; - if ($id <= 0) { + if ($id === '') { throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound(); } diff --git a/app/Views/pages/v2/m701/detail.php b/app/Views/pages/v2/m701/detail.php index 86e68e0..89df450 100644 --- a/app/Views/pages/v2/m701/detail.php +++ b/app/Views/pages/v2/m701/detail.php @@ -621,7 +621,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
| 홍보확인서 미확인여부상세 |
-
|
|---|