mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
#341 불필요한 코드 제거(module handler에서 $entry를 미리 처리하므로 불필요)
This commit is contained in:
parent
e5ba07a616
commit
2e8a0b5e5e
1 changed files with 1 additions and 2 deletions
|
|
@ -403,8 +403,7 @@ class boardView extends board
|
||||||
|
|
||||||
// set the current page of documents
|
// set the current page of documents
|
||||||
$document_srl = Context::get('document_srl');
|
$document_srl = Context::get('document_srl');
|
||||||
$entry = Context::get('entry');
|
if(!$args->page && ($document_srl))
|
||||||
if(!$args->page && ($document_srl || $entry))
|
|
||||||
{
|
{
|
||||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||||
if($oDocument->isExists() && !$oDocument->isNotice())
|
if($oDocument->isExists() && !$oDocument->isNotice())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue