mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#18460937 모듈 하나도 없을때 뜨는에러 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6996 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
85d2b674e8
commit
96d323ca1f
2 changed files with 6 additions and 2 deletions
|
|
@ -55,8 +55,10 @@
|
|||
// 모듈 카테고리 목록을 구함
|
||||
$module_categories = $oModuleModel->getModuleCategories();
|
||||
|
||||
foreach($mid_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
if($mid_list) {
|
||||
foreach($mid_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$module_categories[0]->list = $mid_list;
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@
|
|||
<table cellspacing="0" class="rowTable">
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($mid_list)-->
|
||||
<tr>
|
||||
<th scope="row"><div>
|
||||
{$lang->module}
|
||||
|
|
@ -94,6 +95,7 @@
|
|||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue