mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +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,8 +506,8 @@ class widgetController extends widget
|
|||
if($args->document_srl)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false, false);
|
||||
$body = $oDocument->getContent(false,false,false, false);
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, true);
|
||||
$body = $oDocument->getContent(false, false, false, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -546,8 +546,8 @@ class widgetController extends widget
|
|||
if($args->document_srl)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false, false);
|
||||
$body = $oDocument->getContent(false,false,false);
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, true);
|
||||
$body = $oDocument->getContent(false, false, false, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue