git-svn-id: http://xe-core.googlecode.com/svn/trunk@1249 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-19 09:53:45 +00:00
parent 4a60415cab
commit 35ea1c4bbc
4 changed files with 61 additions and 16 deletions

View file

@ -495,8 +495,9 @@
/**
* @brief 카테고리 추가
**/
function insertCategory($module_srl, $title) {
$args->list_order = $args->category_srl = getNextSequence();
function insertCategory($module_srl, $title, $category_srl = 0) {
if(!$category_srl) $args->list_order = $args->category_srl = getNextSequence();
else $args->list_order = $args->category_srl = $category_srl;
$args->module_srl = $module_srl;
$args->title = $title;
$args->document_count = 0;