From 6ba5cac0206273a5a41e538ae9eba5886e9bffec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Sun, 10 Dec 2017 11:33:08 +0100 Subject: [PATCH] Fix for PHP Notice Undefined index: STATUS , Line 110 of /e107_handlers/rate_class.php --- e107_handlers/rate_class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;