mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for bcc's
This commit is contained in:
parent
5b5167ae59
commit
ad1bea598c
@ -90,8 +90,10 @@ class TemplateEmail extends Mailable
|
|||||||
|
|
||||||
if (strlen($settings->bcc_email) > 1){
|
if (strlen($settings->bcc_email) > 1){
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
if(Ninja::isHosted()){
|
||||||
$this->bcc(reset(explode(",",str_replace(" ", "", $settings->bcc_email))));//remove whitespace if any has been inserted.
|
$bccs = explode(",",str_replace(" ", "", $settings->bcc_email));
|
||||||
|
$this->bcc(reset($bccs));//remove whitespace if any has been inserted.
|
||||||
|
}
|
||||||
else
|
else
|
||||||
$this->bcc(explode(",",str_replace(" ", "", $settings->bcc_email)));//remove whitespace if any has been inserted.
|
$this->bcc(explode(",",str_replace(" ", "", $settings->bcc_email)));//remove whitespace if any has been inserted.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user