Skip to content

Commit

Permalink
Fix headers array to ensure it picks up the correct field name
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Apr 24, 2017
1 parent bf309c7 commit e00592e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ public static function addMessageIdHeader(&$headers, $prefix, $job_id, $event_qu
}
foreach ($fields as $field) {
if ($includeMessageId && (!array_key_exists($field, $headers))) {
$headers['Message-ID'] = '<' . implode($config->verpSeparator,
$headers[$field] = '<' . implode($config->verpSeparator,
array(
$localpart . $prefix,
$job_id,
Expand Down

0 comments on commit e00592e

Please sign in to comment.