mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@138 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a834afcf38
commit
6715e64a58
1 changed files with 6 additions and 1 deletions
|
|
@ -47,8 +47,13 @@
|
|||
if($this->grant->view && $document_srl) {
|
||||
|
||||
$document = $oDocumentModel->getDocument($document_srl, $this->grant->manager, true);
|
||||
Context::set('document', $document);
|
||||
if($document->document_srl != $document_srl) {
|
||||
unset($document);
|
||||
unset($document_srl);
|
||||
Context::set('document_srl','',true);
|
||||
}
|
||||
|
||||
Context::set('document', $document);
|
||||
}
|
||||
|
||||
// 만약 document_srl은 있는데 page가 없다면 글만 호출된 경우 page를 구해서 세팅해주자..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue