From 9d990281e451be3e49e310b2c8c41b984d3e190f Mon Sep 17 00:00:00 2001 From: Jason Long Date: Thu, 28 Oct 2021 10:14:30 +0800 Subject: [PATCH] Replace double quote --- src/bb-library/Box/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bb-library/Box/Request.php b/src/bb-library/Box/Request.php index 273fca704..8c2f1135e 100644 --- a/src/bb-library/Box/Request.php +++ b/src/bb-library/Box/Request.php @@ -258,9 +258,9 @@ class Box_Request implements \Box\InjectionAwareInterface $address = null; if ($trustForwardedHeader) { // Check to see if the CF-Connecting-IP (Cloudflare) header exists. - if (!empty($this->getServer("HTTP_CF_CONNECTING_IP"))) { + if (!empty($this->getServer('HTTP_CF_CONNECTING_IP'))) { // If it does, assume that BoxBilling is behind Cloudflare. - $address = $this->getServer("HTTP_CF_CONNECTING_IP"); + $address = $this->getServer('HTTP_CF_CONNECTING_IP'); } else { $address = $this->getServer('HTTP_X_FORWARDED_FOR'); }