This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user