From 4e5cf1ca1cfcb4559d8b18898a526181963890f6 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 6 Jul 2009 20:53:41 +0000 Subject: Fixed a bug in the Form Validation library where multiple callbacks weren't working (#6110) --- system/libraries/Form_validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index f8077b8ee..1497d8517 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -601,7 +601,7 @@ class CI_Form_validation { // If the field isn't required and we just processed a callback we'll move on... if ( ! in_array('required', $rules, TRUE) AND $result !== FALSE) { - return; + continue; } } else -- cgit v1.2.3-24-g4f1b