diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index 1dceafdf1..cf0c8d2a3 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -680,14 +680,14 @@ // FIXME - level handler!!! // print_a($rankInfo); - if(empty($rankInfo)) - { - return null; - } + if($parm == 'badge') { - return "" . $rankInfo['name'] . ""; + if(!empty($rankInfo['name'])) + { + return "" . $rankInfo['name'] . ""; + } } if(!$parm)