mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
Merge branch 'develop' into template-v2
This commit is contained in:
commit
a2767b0dd8
4 changed files with 8 additions and 12 deletions
|
|
@ -141,10 +141,8 @@ class PageView extends Page
|
|||
|
||||
function _getArticleContent()
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0);
|
||||
|
||||
if($this->module_info->document_srl)
|
||||
$oDocument = DocumentModel::getDocument(0);
|
||||
if($this->module_info->document_srl ?? 0)
|
||||
{
|
||||
$document_srl = $this->module_info->document_srl;
|
||||
$oDocument->setDocument($document_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue