From 4fb186cef50605cd3558ccf673157872d9f4a2c5 Mon Sep 17 00:00:00 2001 From: initvector Date: Mon, 25 Jan 2016 10:06:07 -0500 Subject: [PATCH] Fix casening error in ProxyRequest --- library/core/class.proxyrequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/class.proxyrequest.php b/library/core/class.proxyrequest.php index c21ba6dc0a1..bbad96e97ac 100644 --- a/library/core/class.proxyrequest.php +++ b/library/core/class.proxyrequest.php @@ -546,7 +546,7 @@ public function request($Options = null, $QueryParams = null, $Files = null, $Ex // Add the response body to the log entry if it isn't too long or we are debugging. $logResponseBody = val('LogResponseBody', $Options, null); $logResponseBody = $logResponseBody === null ? - !in_array($RequestMethod, ['GET', 'OPTIONS']) && strlen($this->responseBody) < self::MAX_LOG_BODYLENGTH : + !in_array($RequestMethod, ['GET', 'OPTIONS']) && strlen($this->ResponseBody) < self::MAX_LOG_BODYLENGTH : $logResponseBody; if ($logResponseBody || debug() || (!$this->responseClass('2xx') && val('LogResponseErrorBody', $Options, true))) {