diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-11-17 13:42:36 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-11-17 13:42:36 (GMT) |
commit | c6fcdd085d57048a9821a7f82bacb4a4bb7afae1 (patch) | |
tree | ecae99141f89fa70840a5106b131f6af1e57f3fc | |
parent | 5fc1beddaa4e7cbdff6375dcd623104422a5e87a (diff) |
Reset email fields after sending
-rw-r--r-- | site/app/controllers/components/email.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/app/controllers/components/email.php b/site/app/controllers/components/email.php index 7f0eef1..62aaf93 100644 --- a/site/app/controllers/components/email.php +++ b/site/app/controllers/components/email.php @@ -115,6 +115,11 @@ class EmailComponent $mail->AddCC($i); $success = $mail->Send($this->in_reply_to); + + $this->cc = null; + $this->in_reply_to = null; + $this->reply_to = array(); + return $success; } } |