mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
$lang_code_args 초기화 하지 않은 문제점 개선
This commit is contained in:
parent
9502aef063
commit
fd690059ab
1 changed files with 1 additions and 0 deletions
|
|
@ -647,6 +647,7 @@ class documentController extends document
|
||||||
// Change not extra vars but language code of the original document if document's lang_code doesn't exist.
|
// Change not extra vars but language code of the original document if document's lang_code doesn't exist.
|
||||||
if(!$source_obj->get('lang_code'))
|
if(!$source_obj->get('lang_code'))
|
||||||
{
|
{
|
||||||
|
$lang_code_args = new stdClass();
|
||||||
$lang_code_args->document_srl = $source_obj->get('document_srl');
|
$lang_code_args->document_srl = $source_obj->get('document_srl');
|
||||||
$lang_code_args->lang_code = Context::getLangType();
|
$lang_code_args->lang_code = Context::getLangType();
|
||||||
$output = executeQuery('document.updateDocumentsLangCode', $lang_code_args);
|
$output = executeQuery('document.updateDocumentsLangCode', $lang_code_args);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue