mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Improve 0984b751e8 and Fix returning nothing on first run
This commit is contained in:
parent
0984b751e8
commit
274a3d9a11
1 changed files with 3 additions and 5 deletions
|
|
@ -415,18 +415,16 @@ class memberModel extends member
|
|||
$args = new stdClass();
|
||||
$args->member_srl = $member_srl;
|
||||
$output = executeQuery('member.getMemberInfoByMemberSrl', $args);
|
||||
if($output->data)
|
||||
if($output->toBool() && $output->data)
|
||||
{
|
||||
$member_info = self::arrangeMemberInfo($output->data);
|
||||
Rhymix\Framework\Cache::set($cache_key, $member_info);
|
||||
}
|
||||
else
|
||||
{
|
||||
$member_info = new stdClass;
|
||||
}
|
||||
if($output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Cache::set($cache_key, $member_info);
|
||||
}
|
||||
$GLOBALS['__member_info__'][$member_srl] = $member_info;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue