1
0
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:
Tijn Kuyper
2019-07-02 09:54:50 +02:00
parent 56ac781a2b
commit 8e331152e0

View File

@@ -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')
{