mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
확장변수를 나중에 설정한 경우 이전글의 확장변수 처리 문제 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5883 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6c25d6f583
commit
8396491102
1 changed files with 8 additions and 1 deletions
|
|
@ -44,6 +44,7 @@
|
|||
$output = executeQueryArray('document.getDocumentsExtraVars', $obj);
|
||||
if($output->toBool() && $output->data) {
|
||||
$setted = array();
|
||||
|
||||
foreach($output->data as $key => $val) {
|
||||
if(!$val->document_srl) continue;
|
||||
|
||||
|
|
@ -64,8 +65,14 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
foreach($document_srls as $key => $document_srl) {
|
||||
if(!isset($GLOBALS['XE_EXTRA_VARS'][$document_srl])) $GLOBALS['XE_EXTRA_VARS'][$document_srl] = array();
|
||||
if(!isset($GLOBALS['XE_EXTRA_VARS'][$document_srl])){
|
||||
$module_srl = $GLOBALS['XE_DOCUMENT_LIST'][$document_srl]->get('module_srl');
|
||||
$oExtraItem = $GLOBALS['XE_EXTRAVARS'][$module_srl];
|
||||
$GLOBALS['XE_EXTRA_VARS'][$document_srl] = $oExtraItem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue