summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornisheeth-barthwal <nisheeth.barthwal@nbaztec.co.in>2013-02-19 13:41:14 +0100
committernisheeth-barthwal <nisheeth.barthwal@nbaztec.co.in>2013-02-19 13:41:14 +0100
commit6bb98903662ed2870d1d46c492106fec3be1ca6f (patch)
tree16cee9d3a2ffdf06c223ecd3de2caa25b103ce96
parent73c75cbfa066b4e72b8e691199ad964d1c2b3719 (diff)
Fixed the issue with bcc_batch_mode and subject
-rw-r--r--system/libraries/Email.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 1bf1da15e..0319ac5e7 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1205,8 +1205,11 @@ class CI_Email {
{
if ($this->protocol === 'mail')
{
- $this->_subject = $this->_headers['Subject'];
- unset($this->_headers['Subject']);
+ if (isset($this->_headers['Subject']))
+ {
+ $this->_subject = $this->_headers['Subject'];
+ unset($this->_headers['Subject']);
+ }
}
reset($this->_headers);