Merge pull request #309 from bjrambo/develop

$lang_code_args 초기화 하지 않은 문제점 개선
This commit is contained in:
BJRambo 2016-02-25 17:43:27 +09:00
commit a93429f5c5

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);