From 9110d0795e70e80eafc1d1c9aebb53aa4da91892 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 26 May 2024 04:19:16 +0000 Subject: [PATCH] Fixes PHP8-Bug within CI3 --- system/helpers/text_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?? '' ); } }