From 92e2fd2320a27519922e2927cf810d8c846e7b4e Mon Sep 17 00:00:00 2001 From: Michael Granados Date: Tue, 11 Nov 2014 21:49:26 -0200 Subject: Making required changes Signed-off-by: Michael Granados --- system/libraries/Email.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/libraries') diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 34ce5b156..454482ef4 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1630,9 +1630,9 @@ class CI_Email { */ 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 @@ class CI_Email { } /* End of file Email.php */ -/* Location: ./system/libraries/Email.php */ \ No newline at end of file +/* Location: ./system/libraries/Email.php */ -- cgit v1.2.3-24-g4f1b