mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Fix #1412 failure to load multilingual document in widget page
This commit is contained in:
parent
9752c2ed61
commit
f5562356b4
1 changed files with 4 additions and 4 deletions
|
|
@ -506,7 +506,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, false, false, false);
|
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, true);
|
||||||
$body = $oDocument->getContent(false, false, false, false);
|
$body = $oDocument->getContent(false, false, false, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -546,8 +546,8 @@ class widgetController extends widget
|
||||||
if($args->document_srl)
|
if($args->document_srl)
|
||||||
{
|
{
|
||||||
$oDocumentModel = getModel('document');
|
$oDocumentModel = getModel('document');
|
||||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false, false);
|
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, true);
|
||||||
$body = $oDocument->getContent(false,false,false);
|
$body = $oDocument->getContent(false, false, false, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue