Commits

Greg Aker committed c63dab6 Merge

Comments (0)

Files changed (1)

system/helpers/form_helper.php

 	function validation_errors($prefix = '', $suffix = '')
 	{
 		if (FALSE === ($OBJ =& _get_validation_object()))
-		{
+		{var_dump(_get_validation_object()); exit;
 			return '';
 		}
 
 		// We set this as a variable since we're returning by reference.
 		$return = FALSE;
 		
-		if ( ! ($object = $CI->load->is_loaded('form_validation')))
+		if (FALSE !== ($object = $CI->load->is_loaded('form_validation')))
 		{
 			if ( ! isset($CI->$object) OR ! is_object($CI->$object))
 			{