Skip to content

Commit

Permalink
Update class.phpmailer.php
Browse files Browse the repository at this point in the history
Fix concatenation of headers for Dkim
  • Loading branch information
sveneld committed Apr 4, 2015
1 parent 580e44d commit 30a5c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class.phpmailer.php
Expand Up @@ -3411,8 +3411,8 @@ public function DKIM_Add($headers_line, $subject, $body)
$to_header = $header;
$current = 'to_header';
} else {
if ($current && strpos($header, ' =?') === 0) {
$current .= $header;
if ($$current && strpos($header, ' =?') === 0) {
$$current .= $header;
} else {
$current = '';
}
Expand Down

0 comments on commit 30a5c73

Please sign in to comment.