From 193df886a54e0cac8416327f763a1e61dc2a3053 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 1 Feb 2022 15:24:27 +0200 Subject: Merge pull request #6090 from jamieburchell/patch-1 Default $final_output to string instead of NULL for PHP 8.1 compatibility --- system/core/Output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core/Output.php b/system/core/Output.php index 8e3245b79..1f3038fc0 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -55,7 +55,7 @@ class CI_Output { * * @var string */ - public $final_output; + public $final_output = ''; /** * Cache expiration time -- cgit v1.2.3-24-g4f1b