opnsense-ports/devel/phabricator/files/patch-externals_phpmailer_class.phpmailer-lite.php
Franco Fichtner 360649d090 */*: sync with upstream
Taken from: FreeBSD
2024-12-04 13:32:47 +01:00

11 lines
403 B
PHP

--- externals/phpmailer/class.phpmailer-lite.php.orig 2024-12-03 14:44:25 UTC
+++ externals/phpmailer/class.phpmailer-lite.php
@@ -1492,7 +1492,7 @@ class PHPMailerLite {
$eol = "\r\n";
$escape = '=';
$output = '';
- while( list(, $line) = each($lines) ) {
+ foreach ($lines as $line) {
$linlen = strlen($line);
$newline = '';
for($i = 0; $i < $linlen; $i++) {