From f1dcc23d9a8b140b7a0acd9ee27e1f482f939f4f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 29 Jan 2023 14:20:40 +0100 Subject: fix: Add missing parameter for CSRF security class constructor Signed-off-by: Florian Pritz --- application/core/MY_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/core') diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index f33dedbb3..6e0d9d0a2 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -122,7 +122,7 @@ class MY_Controller extends CI_Controller { $this->config->set_item('csrf_regenerate', false); } - $this->security->__construct(); + $this->security->__construct('UTF-8'); $this->security->csrf_verify(); } } -- cgit v1.2.3-24-g4f1b