mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Do not load extra vars of document in widget page
This commit is contained in:
parent
36558f303a
commit
ddac7ecf2f
1 changed files with 2 additions and 2 deletions
|
|
@ -479,7 +479,7 @@ class widgetController extends widget
|
||||||
if($args->document_srl)
|
if($args->document_srl)
|
||||||
{
|
{
|
||||||
$oDocumentModel = getModel('document');
|
$oDocumentModel = getModel('document');
|
||||||
$oDocument = $oDocumentModel->getDocument($args->document_srl);
|
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false);
|
||||||
$body = $oDocument->getContent(false,false,false, false);
|
$body = $oDocument->getContent(false,false,false, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -519,7 +519,7 @@ class widgetController extends widget
|
||||||
if($args->document_srl)
|
if($args->document_srl)
|
||||||
{
|
{
|
||||||
$oDocumentModel = getModel('document');
|
$oDocumentModel = getModel('document');
|
||||||
$oDocument = $oDocumentModel->getDocument($args->document_srl);
|
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false);
|
||||||
$body = $oDocument->getContent(false,false,false);
|
$body = $oDocument->getContent(false,false,false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue