문서 확장 변수 추출시 document_srl이 없으면 DB 인자값으로 인식하지 않도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6816 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-10-06 04:43:45 +00:00
parent e2db4bbdcf
commit b784bf45ef

View file

@ -32,7 +32,7 @@
// 모든 호출된 문서 객체를 찾아서 확장변수가 설정되었는지를 확인
$document_srls = array();
foreach($GLOBALS['XE_DOCUMENT_LIST'] as $key => $val) {
if($checked_documents[$val->document_srl]) continue;
if(!$val->document_srl || $checked_documents[$val->document_srl]) continue;
$checked_documents[$val->document_srl] = true;
$document_srls[] = $val->document_srl;
}