Making required changes
Signed-off-by: Michael Granados <michaelgranados@gmail.com>
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 34ce5b1..454482e 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1630,9 +1630,9 @@
*/
public function send($auto_clear = TRUE)
{
- if ( ! isset($this->_headers['From']) )
+ if ( ! isset($this->_headers['From']))
{
- $this->_set_error_message('lang:email_no_sender');
+ $this->_set_error_message('lang:email_no_from');
return FALSE;
}
@@ -2273,4 +2273,4 @@
}
/* End of file Email.php */
-/* Location: ./system/libraries/Email.php */
\ No newline at end of file
+/* Location: ./system/libraries/Email.php */