Page MenuHomePhorge

D25659.1737994459.diff
No OneTemporary

D25659.1737994459.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
@@ -1492,7 +1492,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++) {
@@ -1523,7 +1523,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
@@ -1624,7 +1624,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++) {
@@ -1655,7 +1655,7 @@
$newline .= $c;
} // end of for
$output .= $newline.$eol;
- } // end of while
+ } // end of foreach
return $output;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 16:14 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147919
Default Alt Text
D25659.1737994459.diff (1 KB)

Event Timeline