mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
아이콘 중복 설정을 올바르게 고침
This commit is contained in:
parent
4a79b5ce25
commit
60c46901c6
2 changed files with 11 additions and 21 deletions
|
|
@ -13,18 +13,18 @@ function pointLevelIconTrans($matches, $addon_info)
|
|||
return $matches[0];
|
||||
}
|
||||
|
||||
$orig_text = preg_replace('/' . preg_quote($matches[5], '/') . '<\/' . $matches[6] . '>$/', '', $matches[0]);
|
||||
|
||||
if($addon_info->icon_duplication != 'Y')
|
||||
if($addon_info->icon_duplication != 'N')
|
||||
{
|
||||
// Check Group Image Mark
|
||||
$oMemberModel = getModel('member');
|
||||
if($oMemberModel->getGroupImageMark($member_srl))
|
||||
{
|
||||
return $orig_text . $matches[5] . '</' . $matches[6] . '>';
|
||||
return $matches[0];
|
||||
}
|
||||
}
|
||||
|
||||
$orig_text = preg_replace('/' . preg_quote($matches[5], '/') . '<\/' . $matches[6] . '>$/', '', $matches[0]);
|
||||
|
||||
if(!isset($GLOBALS['_pointLevelIcon'][$member_srl]))
|
||||
{
|
||||
// Get point configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue