]> git.mxchange.org Git - mailer.git/blobdiff - inc/http-functions.php
Rewrote else blocks (avoided them)
[mailer.git] / inc / http-functions.php
index cf8377038873faf9436660cbb5b31a253517548d..67a70435983f725096b859e352b7750c8fbbdb88 100644 (file)
@@ -551,7 +551,7 @@ function unchunkHttpResponse ($response) {
                //* DEBUG: */ die('tempResponse['.strlen($tempResponse).']=<pre>'.replaceReturnNewLine(htmlentities($tempResponse)).'</pre>');
 
                // Re-add the headers
-               $response = merge_array($GLOBALS['http_headers'], stringToArray(chr(10), $tempResponse));
+               $response = merge_array($GLOBALS['http_headers'], stringToArray(PHP_EOL, $tempResponse));
        } // END - if
 
        // Return the unchunked array