From 83ffd5a3c526a1119e9db6dfd98199f72f5788d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 14 Aug 2009 20:10:36 +0000 Subject: [PATCH] trim() added --- inc/libs/wernis_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5