summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 11:50:23 +0100
committerAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 11:50:23 +0100
commit7945d30c0c936a553311e7418d388acb4d3fb1af (patch)
treea6e8533f403e069a86e21b46e557233afdd45f0f /system
parente334118cef11e9565b9219587d1f45ab140c9bcd (diff)
Fixed the comment and array alignment.
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Form_validation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 5be2b5e9d..58485916c 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -229,7 +229,7 @@ class CI_Form_validation {
'field' => $field,
'label' => $label,
'rules' => $rules,
- 'errors' => $errors,
+ 'errors' => $errors,
'is_array' => $is_array,
'keys' => $indexes,
'postdata' => NULL,
@@ -757,7 +757,7 @@ class CI_Form_validation {
// 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];