summaryrefslogtreecommitdiffstats
path: root/system/core/Security.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/Security.php
parent318c485b7b83356543c9aa7ab65464893d7eb8fe (diff)
Fix some minor PHP 8.1 deprecation warnings
Diffstat (limited to 'system/core/Security.php')
-rw-r--r--system/core/Security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index f6b0407f8..d1d4f8432 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -193,7 +193,7 @@ class CI_Security {
$this->_csrf_set_hash();
}
- $this->charset = strtoupper(config_item('charset'));
+ $this->charset = strtoupper((string) config_item('charset'));
log_message('info', 'Security Class Initialized');
}