From 6c42576f68ea41c97983256db8c0fdd1208a4e94 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 23 Feb 2022 12:52:47 +0100 Subject: [PATCH] PHP 8.1 support (#1209) --- system/core/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core/Input.php b/system/core/Input.php index 30d528b8..3681f499 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -508,7 +508,7 @@ class CI_Input { $which = FILTER_FLAG_IPV6; break; default: - $which = NULL; + $which = []; break; }