분류가 없을 경우 foreach 오류가 나지 않게 코드 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3550 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-21 08:17:23 +00:00
parent 3a12a24a1f
commit 2e13638219

View file

@ -439,6 +439,7 @@
* @brief 카테고리를 1 배열 형식으로 변경하는 내부 method
**/
function _arrangeCategory(&$document_category, $list, $depth) {
if(!count($list)) return;
$idx = 0;
$list_order = array();
foreach($list as $key => $val) {