mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#1603 source compaction @ioz2014
https://github.com/xpressengine/xe-core/issues/1603#issuecomment-120680480
This commit is contained in:
parent
4b1a5551ee
commit
710cfd12d7
1 changed files with 2 additions and 7 deletions
|
|
@ -7,7 +7,8 @@
|
|||
function pointLevelIconTrans($matches)
|
||||
{
|
||||
$member_srl = $matches[3];
|
||||
if($member_srl < 1)
|
||||
// If anonymous or not member_srl go to Hide Point Icon
|
||||
if($member_srl < 1||!$member_srl)
|
||||
{
|
||||
return $matches[0];
|
||||
}
|
||||
|
|
@ -15,12 +16,6 @@ function pointLevelIconTrans($matches)
|
|||
$orig_text = preg_replace('/' . preg_quote($matches[5], '/') . '<\/' . $matches[6] . '>$/', '', $matches[0]);
|
||||
|
||||
$oMemberModel = getModel('member');
|
||||
// If not a member go to Hide Point Icon
|
||||
$member_info = $oMemberModel->getMemberInfoByMemberSrl($member_srl);
|
||||
if(!$member_info)
|
||||
{
|
||||
return $matches[0];
|
||||
}
|
||||
|
||||
// Check Group Image Mark
|
||||
if($oMemberModel->getGroupImageMark($member_srl))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue