diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index 34412ef7b..254fe85d2 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -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') {