From b784bf45ef698eb4cd6728f114d83a7e81eba736 Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 6 Oct 2009 04:43:45 +0000 Subject: [PATCH] =?UTF-8?q?=EB=AC=B8=EC=84=9C=20=ED=99=95=EC=9E=A5=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=20=EC=B6=94=EC=B6=9C=EC=8B=9C=20document=5Fs?= =?UTF-8?q?rl=EC=9D=B4=20=EC=97=86=EC=9C=BC=EB=A9=B4=20DB=20=EC=9D=B8?= =?UTF-8?q?=EC=9E=90=EA=B0=92=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=EC=8B=9D?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6816 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/document/document.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 13fc16d10..54dbbde00 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -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; }