Merge remote-tracking branch 'refs/remotes/origin/pr/member-engilsh-lang' into pr/document-update-log

This commit is contained in:
BJRambo 2016-03-01 15:54:44 +09:00
commit de127f27f8
2 changed files with 2 additions and 1 deletions

View file

@ -660,6 +660,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);