From bfecf9a624390d882a7fc58608fb8551773c5921 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 Mar 2008 20:08:03 +0000 Subject: [PATCH] Response from server parsed through trim() to avoid trailing/leading whitespaces --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 459c6962d5..5692191704 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1679,7 +1679,7 @@ function MXCHANGE_OPEN($script) { // Read response while(!feof($fp)) { - $response[] = fgets($fp, 1024); + $response[] = trim(fgets($fp, 1024)); } // Close socket -- 2.39.5