mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 09:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1249 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4a60415cab
commit
35ea1c4bbc
4 changed files with 61 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue