mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +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']);
|
$rankInfo = e107::getRank()->getRanks($this->postInfo['post_user']);
|
||||||
// FIXME - level handler!!!
|
// FIXME - level handler!!!
|
||||||
|
|
||||||
|
|
||||||
// print_a($rankInfo);
|
// print_a($rankInfo);
|
||||||
|
if(empty($rankInfo))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if($parm == 'badge')
|
if($parm == 'badge')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user