$lang_code_args 초기화 하지 않은 문제점 개선

This commit is contained in:
BJRambo 2016-02-25 16:31:33 +09:00
parent 9502aef063
commit fd690059ab

View file

@ -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.
if(!$source_obj->get('lang_code'))
{
$lang_code_args = new stdClass();
$lang_code_args->document_srl = $source_obj->get('document_srl');
$lang_code_args->lang_code = Context::getLangType();
$output = executeQuery('document.updateDocumentsLangCode', $lang_code_args);