From 46bcfef43202f0d7f8ee32e2f41f7997086ef882 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 13 Oct 2015 16:26:36 +0800 Subject: [PATCH] Mailer.php --- Mailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mailer.php b/Mailer.php index cd10535f..cc45be8f 100644 --- a/Mailer.php +++ b/Mailer.php @@ -283,8 +283,8 @@ class Pman_Core_Mailer { 'mailer' => $this ); // add bcc if necessary.. - if (isset($args['bcc'])) { - $ret['bcc'] = $args['bcc']; + if (!empty($this->bcc)) { + $ret['bcc'] = $this->bcc; } return $ret; } -- 2.39.2