#341 불필요한 코드 제거(module handler에서 $entry를 미리 처리하므로 불필요)

This commit is contained in:
khongchi 2014-01-21 02:31:36 +09:00
parent e5ba07a616
commit 2e8a0b5e5e

View file

@ -403,8 +403,7 @@ class boardView extends board
// set the current page of documents
$document_srl = Context::get('document_srl');
$entry = Context::get('entry');
if(!$args->page && ($document_srl || $entry))
if(!$args->page && ($document_srl))
{
$oDocument = $oDocumentModel->getDocument($document_srl);
if($oDocument->isExists() && !$oDocument->isNotice())