diff --git a/mailstream/phpmailer/class.phpmailer.php b/mailstream/phpmailer/class.phpmailer.php index 8cd05a2c..baf6c5ba 100644 --- a/mailstream/phpmailer/class.phpmailer.php +++ b/mailstream/phpmailer/class.phpmailer.php @@ -3874,8 +3874,8 @@ class PHPMailer $date_header = $header; $current = 'date_header'; } else { - if (!empty($$current) && strpos($header, ' =?') === 0) { - $$current .= $header; + if (!empty($current) && strpos($header, ' =?') === 0) { + $current .= $header; } else { $current = ''; }