summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Anbar <aanbar@gmail.com>2015-01-11 18:43:23 +0100
committerAhmad Anbar <aanbar@gmail.com>2015-01-11 18:43:23 +0100
commit42140f5782dd53416360961a6df59c2aca193e1b (patch)
tree0e76e7994837d166b648cbadb57002fcdd675fbe
parentc8e1de74b139dc7f3e776f7ebf98495ec5b780a6 (diff)
Show the name of the field that doesn't have error message set.
-rw-r--r--system/libraries/Form_validation.php2
1 files changed, 1 insertions, 1 deletions
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