mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
fixed error : check the member that don't have group
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10122 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a3d1ad0c19
commit
9a45b0e9f1
1 changed files with 12 additions and 12 deletions
|
|
@ -643,21 +643,21 @@
|
|||
if(count($member_group) > 0 && is_array($member_group))
|
||||
{
|
||||
$memberGroups = array_keys($member_group);
|
||||
}
|
||||
|
||||
foreach($groups_info as $group_srl=>$group_info)
|
||||
{
|
||||
if(in_array($group_srl, $memberGroups))
|
||||
foreach($groups_info as $group_srl=>$group_info)
|
||||
{
|
||||
if($group_info->image_mark)
|
||||
if(in_array($group_srl, $memberGroups))
|
||||
{
|
||||
$info->title = $group_info->title;
|
||||
$info->description = $group_info->description;
|
||||
$info->src = $group_info->image_mark;
|
||||
$GLOBALS['__member_info__']['group_image_mark'][$member_srl] = $info;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if($group_info->image_mark)
|
||||
{
|
||||
$info->title = $group_info->title;
|
||||
$info->description = $group_info->description;
|
||||
$info->src = $group_info->image_mark;
|
||||
$GLOBALS['__member_info__']['group_image_mark'][$member_srl] = $info;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!$info) $GLOBALS['__member_info__']['group_image_mark'][$member_srl] == 'N';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue