diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 231d5ca4b..7eeac7a64 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -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) {