From a1b05a1c6505fe2afce28c0268a51582c655a190 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Fri, 27 Apr 2007 21:20:38 +0000 Subject: --- system/libraries/Validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Validation.php') diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 7ad8509a3..c28713c1b 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -194,7 +194,7 @@ class CI_Validation { //Explode out the rules! $ex = explode('|', $rules); - // Is the field required? If not, if the field is blank we'll move on to the next text + // Is the field required? If not, if the field is blank we'll move on to the next test if ( ! in_array('required', $ex, TRUE) AND strpos($rules, 'callback_') === FALSE) { if ( ! isset($_POST[$field]) OR $_POST[$field] == '') -- cgit v1.2.3-24-g4f1b