mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
If there is no mid list, or if mid list is not array, there was some errors to show admin controller. This rev. fix it.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6904 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea4964ddb8
commit
babc377eb7
2 changed files with 29 additions and 26 deletions
|
|
@ -61,8 +61,9 @@
|
|||
// 모듈 카테고리 목록을 구함
|
||||
$module_categories = $oModuleModel->getModuleCategories();
|
||||
|
||||
if(!is_array($mid_list)) $mid_list = array($mid_list);
|
||||
foreach($mid_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
if($module) $module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
} else {
|
||||
$module_categories[0]->list = $mid_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue