mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
issue 57 if no member, no show level icon
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9689 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e41941ccd2
commit
cfb4f08e4f
2 changed files with 28 additions and 9 deletions
|
|
@ -23,6 +23,7 @@
|
|||
if(!$GLOBALS['_pointModel']) $GLOBALS['_pointModel'] = getModel('point');
|
||||
$oPointModel = &$GLOBALS['_pointModel'];
|
||||
// Get points
|
||||
if(!$oPointModel->isExistsPoint($member_srl)) return $matches[0];
|
||||
$point = $oPointModel->getPoint($member_srl);
|
||||
// Get level
|
||||
$level = $oPointModel->getLevel($point, $config->level_step);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue