summaryrefslogtreecommitdiffstats
path: root/application/core
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2023-01-29 14:20:40 +0100
committerFlorian Pritz <bluewind@xinu.at>2023-01-29 14:20:40 +0100
commitf1dcc23d9a8b140b7a0acd9ee27e1f482f939f4f (patch)
treef651d08070e75fe4717809c4099965dd471a6ffa /application/core
parenta4dccec7626946879f2110733a220aee3105193f (diff)
fix: Add missing parameter for CSRF security class constructor
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/core')
-rw-r--r--application/core/MY_Controller.php2
1 files changed, 1 insertions, 1 deletions
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();
}
}