From 157a35a5e72e6f8d255dcb05d5b83ce7ea5a9269 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 7 Jun 2021 08:43:41 -0700 Subject: [PATCH] Custom-fields raw mode was missing for types textarea and bbarea. --- e107_handlers/e_customfields_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e_customfields_class.php b/e107_handlers/e_customfields_class.php index e55aed181..3dac5a14c 100644 --- a/e107_handlers/e_customfields_class.php +++ b/e107_handlers/e_customfields_class.php @@ -235,7 +235,7 @@ case 'textarea': case 'bbarea': - $ret = $tp->toHTML($value, true, 'BODY'); + $ret = ($raw) ? $value : $tp->toHTML($value, true, 'BODY'); break; @@ -266,7 +266,7 @@ break; default: - $ret = $tp->toHTML($value); + $ret = ($raw) ? $value : $tp->toHTML($value); }