mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
default object stdClass
This commit is contained in:
parent
824d4d466e
commit
b4b84cc74f
2 changed files with 5 additions and 5 deletions
|
|
@ -265,7 +265,7 @@ class memberModel extends member
|
|||
|
||||
return $logged_info;
|
||||
}
|
||||
return NULL;
|
||||
return new stdClass;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -319,7 +319,7 @@ class memberModel extends member
|
|||
*/
|
||||
function getMemberInfoByMemberSrl($member_srl, $site_srl = 0, $columnList = array())
|
||||
{
|
||||
if(!$member_srl) return;
|
||||
if(!$member_srl) return new stdClass;
|
||||
|
||||
//columnList size zero... get full member info
|
||||
if(!$GLOBALS['__member_info__'][$member_srl] || count($columnList) == 0)
|
||||
|
|
@ -343,7 +343,7 @@ class memberModel extends member
|
|||
if(!$output->data)
|
||||
{
|
||||
if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, new stdClass);
|
||||
return;
|
||||
return new stdClass;
|
||||
}
|
||||
$this->arrangeMemberInfo($output->data, $site_srl);
|
||||
|
||||
|
|
|
|||
|
|
@ -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