mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
#3827 - check for rankInfo to prevent unwanted HTML output
This commit is contained in:
@@ -679,8 +679,11 @@
|
||||
$rankInfo = e107::getRank()->getRanks($this->postInfo['post_user']);
|
||||
// FIXME - level handler!!!
|
||||
|
||||
|
||||
// print_a($rankInfo);
|
||||
if(empty($rankInfo))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if($parm == 'badge')
|
||||
{
|
||||
|
Reference in New Issue
Block a user