diff options
Diffstat (limited to 'system/helpers')
-rwxr-xr-x | system/helpers/form_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index acd75c239..8aa788c6c 100755 --- 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->get_csrf_token_name()] = $CI->security->get_csrf_hash(); + $hidden[$CI->security->csrf_token_name] = $CI->security->csrf_hash; } if (is_array($hidden) AND count($hidden) > 0) |