mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
문서가 존재하지 않는 경우 엉뚱하게 403 코드를 출력하는 문제수정
This commit is contained in:
parent
431ed92454
commit
54ff7076c7
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($this->document_srl);
|
||||
if(!$oDocument->isAccessible())
|
||||
if($oDocument->isExists() && !$oDocument->isAccessible())
|
||||
{
|
||||
$this->httpStatusCode = '403';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue