commit | dac65764e5ead0bcc9e7fcb2477926d7a2c1dc95 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Sep 17 18:05:43 2006 +0000 |
committer | admin <devnull@localhost> | Sun Sep 17 18:05:43 2006 +0000 |
tree | e16f0a6ee9e9f9728efdd54798d2de8b0bb48beb | |
parent | 55c11e03927b371f895d98a0b533f69cac246b07 [diff] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 44f49ff..e4fd366 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -187,7 +187,7 @@ $ex = explode('|', $rules); // Is the field required? If not, if the field is blank we'll move on to the next text - if ( ! in_array('required', $ex)) + if ( ! in_array('required', $ex) AND strpos($rules, 'callback_') === FALSE) { if ( ! isset($_POST[$field]) OR $_POST[$field] == '') {