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