summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-09-01 18:16:07 +0200
committerDerek Jones <derek.jones@ellislab.com>2010-09-01 18:16:07 +0200
commitd1606358ba51261150bc2f99bb9cb2b9117718e7 (patch)
tree8df09726ab78472f06bc9a59e25c0fb2f9ee4d79 /system/libraries/Email.php
parent09c7793b23ae77c54e25d12b63d8ca9c9232efeb (diff)
fixes issue #109 where cc and bcc recipients were not reset when using the clear() method in the Email lib
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php2
1 files changed, 2 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();