mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 13:32:16 +09:00
Merge pull request #309 from bjrambo/develop
$lang_code_args 초기화 하지 않은 문제점 개선
This commit is contained in:
commit
a93429f5c5
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