diff --git a/e107_handlers/rate_class.php b/e107_handlers/rate_class.php index bc41bf58f..b94617d66 100644 --- a/e107_handlers/rate_class.php +++ b/e107_handlers/rate_class.php @@ -107,7 +107,10 @@ class rater $text = ""; foreach($tmp as $k) { - $text .= $TEMPLATE[$k]; + if (!empty($TEMPLATE[$k])) + { + $text .= $TEMPLATE[$k]; + } } return $text;