From: Roland Häder Date: Fri, 14 Aug 2009 20:10:36 +0000 (+0000) Subject: trim() added X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=83ffd5a3c526a1119e9db6dfd98199f72f5788d5 trim() added --- diff --git a/inc/libs/wernis_functions.php b/inc/libs/wernis_functions.php index b9418aa9d5..9aec9da8e9 100644 --- a/inc/libs/wernis_functions.php +++ b/inc/libs/wernis_functions.php @@ -114,7 +114,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData = array()) { // All (maybe) fine so remove the response header from server for ($idx = (count($response) - 1); $idx > 1; $idx--) { - $line = $response[$idx]; + $line = trim($response[$idx]); if (!empty($line)) { $response = $line; break;