mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
fix bug "foreach"
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6757 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2231d9c271
commit
2bdb19225e
1 changed files with 5 additions and 3 deletions
|
|
@ -143,9 +143,11 @@
|
|||
$mod_srls_count = count($mod_srls);
|
||||
if($mod_srls_count) {
|
||||
$module_output = $oModuleModel->getModulesInfo($mod_srls);
|
||||
foreach($module_output as $module) {
|
||||
$module_list[$module->module_srl] = $module;
|
||||
}
|
||||
if($module_output && is_array($module_output)){
|
||||
foreach($module_output as $module) {
|
||||
$module_list[$module->module_srl] = $module;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach($file_list as $srl => $file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue