summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 02:57:27 +0100
committerAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 02:57:27 +0100
commitb07a428a804eaa898b00ec50a8893233229def38 (patch)
treefb7353cfd9db98031aca1f9917246b8d3e70c54d /system/libraries
parenta0bf8295b90302f498a9c1b94a80b50ec635f85c (diff)
Updated comment messages.
Diffstat (limited to 'system/libraries')
-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 5c3c7c6e3..9efa9f33c 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -608,7 +608,7 @@ class CI_Form_validation {
// Set the message type
$type = in_array('required', $rules) ? 'required' : 'isset';
- // Check if a custom message defined, else use default one
+ // Check if a custom message defined
if (isset($this->_field_data[$row['field']]['error_msg'][$type]))
{
$line = $this->_field_data[$row['field']]['error_msg'][$type];
@@ -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, else use default one
+ // Check if a custom message defined
if(isset($this->_field_data[$row['field']]['error_msg'][$rule]))
{
$line = $this->_field_data[$row['field']]['error_msg'][$rule];