1. kenjis
  2. my-ci

Commits

Phil Sturgeon  committed 2842dc0

Fixed bug with form_helper calling now protected variables.

  • Participants
  • Parent commits 7e4ad2f
  • Branches default

Comments (0)

Files changed (1)

File system/helpers/form_helper.php

View file
 		// 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)