summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-01-05 15:25:49 +0100
committerAndrey Andreev <narf@devilix.net>2022-01-05 15:25:49 +0100
commit39da78b2588a60a2f43fb8f77448ab9604550978 (patch)
tree4d0489559a6040ef929921444e6b207adb6824ab /system/core/Input.php
parent318c485b7b83356543c9aa7ab65464893d7eb8fe (diff)
Fix some minor PHP 8.1 deprecation warnings
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 3fb4121eb..c3a0a9094 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -565,7 +565,7 @@ class CI_Input {
$which = FILTER_FLAG_IPV6;
break;
default:
- $which = NULL;
+ $which = 0;
break;
}