summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-04-08 13:44:17 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-04-08 13:44:17 +0200
commitb70e32ffae21c6a7ae4d21f2991a47f28531676f (patch)
treede4af0581e34e791af2e7c31cb98e38df26144dc /system
parenta439fb57decf98b5b630479e7ef5dc4e7f3360c9 (diff)
Fixed bug with form_helper calling now protected variables.
Diffstat (limited to 'system')
-rw-r--r--system/helpers/form_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 8aa788c6c..acd75c239 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -67,7 +67,7 @@ if ( ! function_exists('form_open'))
// CSRF
if ($CI->config->item('csrf_protection') === TRUE)
{
- $hidden[$CI->security->csrf_token_name] = $CI->security->csrf_hash;
+ $hidden[$CI->security->get_csrf_token_name()] = $CI->security->get_csrf_hash();
}
if (is_array($hidden) AND count($hidden) > 0)