mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
fix #32 다국어로 작성한 문서를 이동 시 문서 내용이 다른 언어의 내용으로 잘못 변경되는 문제 고침. patch by @sejin7940
This commit is contained in:
parent
f4e4cb4a33
commit
51e702d510
1 changed files with 6 additions and 0 deletions
|
|
@ -83,6 +83,12 @@ class documentAdminController extends document
|
|||
|
||||
unset($obj);
|
||||
$obj = $oDocument->getObjectVars();
|
||||
|
||||
// ISSUE https://github.com/xpressengine/xe-core/issues/32
|
||||
$args_doc_origin->document_srl = $document_srl;
|
||||
$output_ori = executeQuery('document.getDocument', $args_doc_origin, array('content'));
|
||||
$obj->content = $output_ori->data->content;
|
||||
|
||||
// Move the attached file if the target module is different
|
||||
if($module_srl != $obj->module_srl && $oDocument->hasUploadedFiles())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue