diff options
-rw-r--r-- | system/libraries/Form_validation.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 1497d8517..e825b1b32 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -658,7 +658,7 @@ class CI_Form_validation { // of another field? If so we need to grab its "field label" if (isset($this->_field_data[$param]) AND isset($this->_field_data[$param]['label'])) { - $param = $this->_field_data[$param]['label']; + $param = $this->_translate_fieldname($this->_field_data[$param]['label']); } // Build the error message diff --git a/user_guide/changelog.html b/user_guide/changelog.html index e61961b39..f11310309 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -80,6 +80,7 @@ SVN Revision: </p> <li>Increased randomness with<kbd>is_really_writable()</kbd> to avoid file collisions when hundreds or thousands of requests occur at once.</li> <li>Fixed or clarified assorted user guide typos or examples.</li> <li>Made <kbd>get_mime_by_extension()</kbd> case insensitive.</li> + <li>Fixed a bug in the Form Validation library where fields passed as rule parameters were not being translated (#9132)</li> </ul> <h2>Version 1.7.2</h2> |