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:
ovclas 2011-10-20 01:33:32 +00:00
parent e41941ccd2
commit cfb4f08e4f
2 changed files with 28 additions and 9 deletions

View file

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