mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-02 21:30:16 +09:00
Apparently isset can't be used on the result of an expression
This commit is contained in:
1 parent
60f595aea9
commit
dcdf39699d
1 file changed
+1
-1
@@ -258,7 +258,7 @@ class Box_Request implements \Box\InjectionAwareInterface
|
||||
$address = null;
|
||||
if ($trustForwardedHeader) {
|
||||
// Check to see if the CF-Connecting-IP (Cloudflare) header exists.
|
||||
if (isset($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");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user