Fix misc warnings in PHP 8.0

This commit is contained in:
Kijin Sung 2020-12-13 21:21:10 +09:00
parent b5cdd1212e
commit 855e12a5de
7 changed files with 40 additions and 20 deletions

View file

@ -86,7 +86,12 @@ class widgetView extends widget
// module_category and module combination
if($module_categories)
{
foreach($mid_list as $module_srl => $module) {
foreach($mid_list as $module_srl => $module)
{
if(!isset($module_categories[$module->module_category_srl]))
{
$module_categories[$module->module_category_srl] = new stdClass();
}
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
}
}