Page MenuHomePhorge

D25659.1737242171.diff
No OneTemporary

D25659.1737242171.diff

diff --git a/externals/phpmailer/class.phpmailer-lite.php b/externals/phpmailer/class.phpmailer-lite.php
--- a/externals/phpmailer/class.phpmailer-lite.php
+++ b/externals/phpmailer/class.phpmailer-lite.php
@@ -1487,7 +1487,7 @@
$eol = "\r\n";
$escape = '=';
$output = '';
- while( list(, $line) = each($lines) ) {
+ foreach ($lines as $line) {
$linlen = strlen($line);
$newline = '';
for($i = 0; $i < $linlen; $i++) {
@@ -1518,7 +1518,7 @@
$newline .= $c;
} // end of for
$output .= $newline.$eol;
- } // end of while
+ } // end of foreach
return $output;
}
diff --git a/externals/phpmailer/class.phpmailer.php b/externals/phpmailer/class.phpmailer.php
--- a/externals/phpmailer/class.phpmailer.php
+++ b/externals/phpmailer/class.phpmailer.php
@@ -1619,7 +1619,7 @@
$eol = "\r\n";
$escape = '=';
$output = '';
- while( list(, $line) = each($lines) ) {
+ foreach ($lines as $line) {
$linlen = strlen($line);
$newline = '';
for($i = 0; $i < $linlen; $i++) {
@@ -1650,7 +1650,7 @@
$newline .= $c;
} // end of for
$output .= $newline.$eol;
- } // end of while
+ } // end of foreach
return $output;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 23:16 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1121124
Default Alt Text
D25659.1737242171.diff (1 KB)

Event Timeline