Skip to content

Commit

Permalink
fix error when send mail to role with 1 user
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Apr 16, 2015
1 parent d70540d commit da56f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/system/classes/email.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public function sendEmail()
// if number of bcc recipients = 1 then send the mail directly to the user and not as bcc
if(count($bccArray) == 1)
{
$this->addAddress($bcc['address'], $bcc['name']);
$this->addAddress($bccArray[0]['address'], $bccArray[0]['name']);
}
else
{
Expand Down

0 comments on commit da56f73

Please sign in to comment.