mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
issue 545 not apply module category in addon configuration.
this bug fixed git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9695 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9c87933d2b
commit
3794f7c718
2 changed files with 3 additions and 3 deletions
|
|
@ -54,14 +54,14 @@
|
|||
$oModuleAdminModel = &getAdminModel('module');
|
||||
|
||||
if($site_module_info->site_srl) $args->site_srl = $site_module_info->site_srl;
|
||||
$columnList = array('module_srl', 'mid', 'browser_title');
|
||||
$columnList = array('module_srl', 'module_category_srl', 'mid', 'browser_title');
|
||||
$mid_list = $oModuleModel->getMidList($args, $columnList);
|
||||
// module_category and module combination
|
||||
if(!$site_module_info->site_srl) {
|
||||
// Get a list of module categories
|
||||
$module_categories = $oModuleModel->getModuleCategories();
|
||||
|
||||
if($mid_list) {
|
||||
if(is_array($mid_list)) {
|
||||
foreach($mid_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,4 +74,4 @@
|
|||
}
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue