Remove unnecessary grant of admin rights on nonexistent documents

This commit is contained in:
Kijin Sung 2017-03-02 21:02:49 +09:00
parent 238d97e4ab
commit 7d508f50bd
5 changed files with 5 additions and 5 deletions

View file

@ -316,7 +316,7 @@ class pageAdminController extends page
$document_srl = $obj->document_srl;
// 이미 존재하는 글인지 체크
$oDocument = $oDocumentModel->getDocument($obj->document_srl, true);
$oDocument = $oDocumentModel->getDocument($obj->document_srl);
$bAnonymous = false;
$target = ($obj->ismobile == 'Y') ? 'mdocument_srl' : 'document_srl';