Rename back a variable changed by the last PR merge
Because.
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 24b2d1f..296ddb9 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -855,14 +855,14 @@
{
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.')';