mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
add document category by mid
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6451 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
25ac4e1ab9
commit
e75304d5ef
1 changed files with 8 additions and 2 deletions
|
|
@ -998,8 +998,14 @@
|
|||
**/
|
||||
function procDocumentInsertCategory($args = null) {
|
||||
// 입력할 변수 정리
|
||||
if(!$args) $args = Context::gets('module_srl','category_srl','parent_srl','title','expand','group_srls','color');
|
||||
|
||||
if(!$args) $args = Context::gets('module_srl','category_srl','parent_srl','title','expand','group_srls','color','mid');
|
||||
|
||||
if(!$args->module_srl && $args->mid){
|
||||
$mid = $args->mid;
|
||||
unset($args->mid);
|
||||
$args->module_srl = $this->module_srl;
|
||||
}
|
||||
|
||||
// 권한 체크
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue