mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 01:09:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1726 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
947b6b8b13
commit
3de29b7c3d
2 changed files with 39 additions and 3 deletions
|
|
@ -118,11 +118,15 @@
|
|||
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;
|
||||
|
||||
return executeQuery('document.insertCategory', $args);
|
||||
$output = executeQuery('document.insertCategory', $args);
|
||||
if($output->toBool()) $output->add('category_srl', $args->category_srl);
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue