mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
php4, php5 에서 참조 호출 및 자기 자신의 객체 교체등에 대한 버전별 오류를 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6342 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c52ed374b0
commit
01a374c403
2 changed files with 9 additions and 6 deletions
|
|
@ -75,9 +75,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
unset($extra_vars);
|
||||
$extra_vars = new ExtraVar($module_srl);
|
||||
$extra_vars->setExtraVarKeys($extra_keys);
|
||||
unset($evars);
|
||||
$evars = new ExtraVar($module_srl);
|
||||
$evars->setExtraVarKeys($extra_keys);
|
||||
|
||||
// 제목 처리
|
||||
if($vars[-1][$user_lang_code]) $GLOBALS['XE_DOCUMENT_LIST'][$document_srl]->add('title',$vars[-1][$user_lang_code]);
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
// 내용 처리
|
||||
if($vars[-2][$user_lang_code]) $GLOBALS['XE_DOCUMENT_LIST'][$document_srl]->add('content',$vars[-2][$user_lang_code]);
|
||||
|
||||
$GLOBALS['XE_EXTRA_VARS'][$document_srl] = $extra_vars->getExtraVars();
|
||||
$GLOBALS['XE_EXTRA_VARS'][$document_srl] = $evars->getExtraVars();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue