mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +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);
|
$mod_srls_count = count($mod_srls);
|
||||||
if($mod_srls_count) {
|
if($mod_srls_count) {
|
||||||
$module_output = $oModuleModel->getModulesInfo($mod_srls);
|
$module_output = $oModuleModel->getModulesInfo($mod_srls);
|
||||||
foreach($module_output as $module) {
|
if($module_output && is_array($module_output)){
|
||||||
$module_list[$module->module_srl] = $module;
|
foreach($module_output as $module) {
|
||||||
}
|
$module_list[$module->module_srl] = $module;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($file_list as $srl => $file) {
|
foreach($file_list as $srl => $file) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue