아이콘 중복 설정을 올바르게 고침

This commit is contained in:
conory 2016-02-29 15:53:28 +09:00
parent 4a79b5ce25
commit 60c46901c6
2 changed files with 11 additions and 21 deletions

View file

@ -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