Skip to content

Commit

Permalink
Merge pull request #13401 from PeaceWorksTechnologySolutions/master
Browse files Browse the repository at this point in the history
dev/mail#32 - Further checks - making mailing test email non-case-sensitive
  • Loading branch information
eileenmcnaughton authored Feb 1, 2019
2 parents 62531d8 + d92d9d6 commit 2ba2ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ function civicrm_api3_mailing_send_test($params) {
$emailDetail = array();
// fetch contact_id and email id for all existing emails
while ($dao->fetch()) {
$emailDetail[$dao->email] = array(
$emailDetail[strtolower($dao->email)] = array(
'contact_id' => $dao->contact_id,
'email_id' => $dao->id,
);
Expand Down

0 comments on commit 2ba2ec7

Please sign in to comment.