Fixed a bug in which the "isset" error message was being trigged by the "required" rule.
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 4f3ffd0..1215e13 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -508,19 +508,22 @@
 		

 		// Isset Test. Typically this rule will only apply to checkboxes.

 		if (is_null($postdata) AND $callback == FALSE)

-		{			

+		{

 			if (in_array('isset', $rules, TRUE) OR in_array('required', $rules))

 			{

-				if ( ! isset($this->_error_messages['isset']))

+				// Set the message type

+				$type = (in_array('required', $rules)) ? 'required' : 'isset';

+			

+				if ( ! isset($this->_error_messages[$type]))

 				{

-					if (FALSE === ($line = $this->CI->lang->line('isset')))

+					if (FALSE === ($line = $this->CI->lang->line($type)))

 					{

 						$line = 'The field was not set';

 					}							

 				}

 				else

 				{

-					$line = $this->_error_messages['isset'];

+					$line = $this->_error_messages[$type];

 				}

 				

 				// Build the error message