mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #1452 misc errors in PHP 8.0
This commit is contained in:
parent
0f346d8e24
commit
1366bb72ce
4 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue