mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@381 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6bc4697406
commit
1a0f41adcd
12 changed files with 188 additions and 51 deletions
|
|
@ -386,8 +386,13 @@
|
|||
// 데이터를 DB에서 가져옴
|
||||
$output = $oDB->executeQuery('module.getModuleCategories');
|
||||
if(!$output->toBool()) return $output;
|
||||
if($output->data && !is_array($output->data)) return array($output->data);
|
||||
return $output->data;
|
||||
if($output->data && !is_array($output->data)) $list = array($output->data);
|
||||
else $list = $output->data;
|
||||
|
||||
foreach($list as $val) {
|
||||
$category_list[$val->module_category_srl] = $val;
|
||||
}
|
||||
return $category_list;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue