mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
default object stdClass
This commit is contained in:
parent
824d4d466e
commit
b4b84cc74f
2 changed files with 5 additions and 5 deletions
|
|
@ -1381,7 +1381,7 @@ class moduleModel extends module
|
|||
$args->site_srl = $site_srl;
|
||||
$output = executeQuery('module.getModuleConfig', $args);
|
||||
if($output->data->config) $config = unserialize($output->data->config);
|
||||
else $config = new stdClass();
|
||||
else $config = new stdClass;
|
||||
|
||||
//insert in cache
|
||||
if($oCacheHandler->isSupport())
|
||||
|
|
@ -1421,7 +1421,7 @@ class moduleModel extends module
|
|||
$args->module_srl = $module_srl;
|
||||
$output = executeQuery('module.getModulePartConfig', $args);
|
||||
if($output->data->config) $config = unserialize($output->data->config);
|
||||
else $config = null;
|
||||
else $config = new stdClass;
|
||||
|
||||
//insert in cache
|
||||
if($oCacheHandler->isSupport())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue