diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-09-01 18:16:07 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-09-01 18:16:07 +0200 |
commit | d1606358ba51261150bc2f99bb9cb2b9117718e7 (patch) | |
tree | 8df09726ab78472f06bc9a59e25c0fb2f9ee4d79 | |
parent | 09c7793b23ae77c54e25d12b63d8ca9c9232efeb (diff) |
fixes issue #109 where cc and bcc recipients were not reset when using the clear() method in the Email lib
-rw-r--r-- | system/libraries/Email.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 09d1b8fb9..af48757bb 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -146,6 +146,8 @@ class CI_Email { $this->_header_str = ""; $this->_replyto_flag = FALSE; $this->_recipients = array(); + $this->_cc_array = array(); + $this->_bcc_array = array(); $this->_headers = array(); $this->_debug_msg = array(); diff --git a/user_guide/changelog.html b/user_guide/changelog.html index c42bde01e..25633b631 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -182,6 +182,7 @@ Hg Tag: </p> <li>Fixed a PHP Strict Standards Error in the index.php file.</li> <li>Fixed a bug where getimagesize() was being needlessly checked on non-image files in is_allowed_type().</li> <li>Fixed a bug in the Encryption library where an empty key was not triggering an error.</li> + <li>Fixed a bug in the Email library where CC and BCC recipients were not reset when using the clear() method (#109).</li> </ul> <h2>Version 1.7.2</h2> |