diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php index 5d5a958e2..124ea8395 100644 --- a/system/helpers/text_helper.php +++ b/system/helpers/text_helper.php @@ -357,7 +357,7 @@ if ( ! function_exists('highlight_code')) return str_replace( array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'), array('<?', '?>', '<%', '%>', '\\', '</script>'), - $str + $str ?? '' ); } }