Fix #1452 misc errors in PHP 8.0

This commit is contained in:
Kijin Sung 2020-11-12 14:03:11 +09:00
parent 0f346d8e24
commit 1366bb72ce
4 changed files with 6 additions and 6 deletions

View file

@ -191,7 +191,7 @@ class moduleController extends module
function updateModuleConfig($module, $config, $site_srl = 0)
{
$origin_config = ModuleModel::getModuleConfig($module, $site_srl);
$origin_config = ModuleModel::getModuleConfig($module, $site_srl) ?: new stdClass;
foreach($config as $key => $val)
{