diff options
author | Andrey Andreev <narf@devilix.net> | 2016-02-09 22:46:25 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-02-09 22:46:25 +0100 |
commit | b30a64a73057ad1253ae1f61f6cd8b125f64cc99 (patch) | |
tree | bb1c154feacf2f261a7fe33f50f04e07d9de52b6 /system/libraries | |
parent | 98c14ae881549c58298aef1d3f5ef7f88ff48d1e (diff) |
Rename back a variable changed by the last PR merge
Because.
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Form_validation.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 24b2d1fc4..296ddb92a 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -855,14 +855,14 @@ class CI_Form_validation { { return $this->_error_messages[$rule]; } - elseif (FALSE !== ($tmp = $this->CI->lang->line('form_validation_'.$rule))) + elseif (FALSE !== ($line = $this->CI->lang->line('form_validation_'.$rule))) { - return $tmp; + return $line; } // DEPRECATED support for non-prefixed keys, lang file again - elseif (FALSE !== ($tmp = $this->CI->lang->line($rule, FALSE))) + elseif (FALSE !== ($line = $this->CI->lang->line($rule, FALSE))) { - return $tmp; + return $line; } return $this->CI->lang->line('form_validation_error_message_not_set').'('.$rule.')'; |