Fixed the comment and array alignment.
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 5be2b5e..5848591 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -229,7 +229,7 @@
'field' => $field,
'label' => $label,
'rules' => $rules,
- 'errors' => $errors,
+ 'errors' => $errors,
'is_array' => $is_array,
'keys' => $indexes,
'postdata' => NULL,
@@ -757,7 +757,7 @@
// Did the rule test negatively? If so, grab the error.
if ($result === FALSE)
{
- // Check if a custom message defined
+ // Check if a custom message is defined
if (isset($this->_field_data[$row['field']]['errors'][$rule]))
{
$line = $this->_field_data[$row['field']]['errors'][$rule];
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index 314ae8a..22c6d8f 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -314,7 +314,7 @@
- Added support for named parameters in error messages.
- :doc:`Language <libraries/language>` line keys must now be prefixed with **form_validation_**.
- Added rule **alpha_numeric_spaces**.
- - Added **support** for custom error messages **per field rule**.
+ - Added support for custom error messages per field rule.
- :doc:`Caching Library <libraries/caching>` changes include: