Merge branch 'next' into next-router

This commit is contained in:
Kijin Sung 2020-06-18 13:17:28 +09:00
commit 527e16c924
4 changed files with 9 additions and 19 deletions

View file

@ -378,16 +378,13 @@ class communicationModel extends communication
$args = new stdClass(); $args = new stdClass();
$args->member_srl = $logged_info->member_srl; $args->member_srl = $logged_info->member_srl;
$output = executeQueryArray('communication.getFriendGroups', $args); $output = executeQueryArray('communication.getFriendGroups', $args);
$friend_group_list = array();
$group_list = $output->data; foreach ($output->data as $item)
if(!$group_list)
{ {
return; $friend_group_list[$item->friend_group_srl] = $item;
} }
return $friend_group_list;
return $group_list;
} }
/** /**

View file

@ -294,14 +294,7 @@ class communicationView extends communication
$oCommunicationModel = getModel('communication'); $oCommunicationModel = getModel('communication');
// get a group list // get a group list
$tmp_group_list = $oCommunicationModel->getFriendGroups(); $friend_group_list = $oCommunicationModel->getFriendGroups();
$group_count = count($tmp_group_list);
for($i = 0; $i < $group_count; $i++)
{
$friend_group_list[$tmp_group_list[$i]->friend_group_srl] = $tmp_group_list[$i];
}
Context::set('friend_group_list', $friend_group_list); Context::set('friend_group_list', $friend_group_list);
// get a list of friends // get a list of friends

View file

@ -49,9 +49,10 @@
html { html {
&.cke_panel_container, &.cke_panel_container body { &.cke_panel_container, &.cke_panel_container body {
background-color: #fff; .light_dark(default);
} }
body.cke_editable { body.cke_editable {
min-height: 100vh;
padding: 10px; padding: 10px;
.light_dark(@colorset); .light_dark(@colorset);
} }

View file

@ -982,9 +982,8 @@ class moduleController extends module
{ {
$this->deleteModuleExtraVars($module_srl); $this->deleteModuleExtraVars($module_srl);
getDestroyXeVars($obj); getDestroyXeVars($obj);
if(!$obj || !is_countable($obj) || !count($obj)) return;
foreach(get_object_vars($obj) as $key => $val)
foreach($obj as $key => $val)
{ {
if(is_object($val) || is_array($val)) continue; if(is_object($val) || is_array($val)) continue;