Commits

Phil Sturgeon committed 2842dc0

Fixed bug with form_helper calling now protected variables.

  • Participants
  • Parent commits 7e4ad2f

Comments (0)

Files changed (1)

system/helpers/form_helper.php

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