From 42140f5782dd53416360961a6df59c2aca193e1b Mon Sep 17 00:00:00 2001 From: Ahmad Anbar Date: Sun, 11 Jan 2015 19:43:23 +0200 Subject: Show the name of the field that doesn't have error message set. --- system/libraries/Form_validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries') diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index d9d92f0ad..82ac34288 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -831,7 +831,7 @@ class CI_Form_validation { // DEPRECATED support for non-prefixed keys && FALSE === ($line = $this->CI->lang->line($rule, FALSE))) { - $line = 'Unable to access an error message corresponding to your field name.'; + $line = 'Unable to access an error message corresponding to your field name: '.$row['field']; } } else -- cgit v1.2.3-24-g4f1b