fixes issue #109 where cc and bcc recipients were not reset when using the clear() method in the Email lib
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 09d1b8f..af48757 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -146,6 +146,8 @@
$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 c42bde0..25633b6 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -182,6 +182,7 @@
<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>