This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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