mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
httpStatusCode 를 정수형으로 만들기
This commit is contained in:
parent
107996918e
commit
29507df48f
6 changed files with 12 additions and 12 deletions
|
|
@ -46,9 +46,9 @@ class messageMobile extends messageView
|
|||
$this->setTemplateFile('system_message');
|
||||
|
||||
// Default 403 Error
|
||||
if(!$this->getHttpStatusCode() || $this->getHttpStatusCode() == '200')
|
||||
if($this->getHttpStatusCode() === 200)
|
||||
{
|
||||
$this->setHttpStatusCode('403');
|
||||
$this->setHttpStatusCode(403);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,9 +55,9 @@ class messageView extends message
|
|||
$this->setTemplateFile('system_message');
|
||||
|
||||
// Default 403 Error
|
||||
if(!$this->getHttpStatusCode() || $this->getHttpStatusCode() == '200')
|
||||
if($this->getHttpStatusCode() === 200)
|
||||
{
|
||||
$this->setHttpStatusCode('403');
|
||||
$this->setHttpStatusCode(403);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue