diff --git a/system/HTTP/Request.php b/system/HTTP/Request.php index d5f414cb0498..27840e604d1c 100644 --- a/system/HTTP/Request.php +++ b/system/HTTP/Request.php @@ -409,7 +409,7 @@ public function fetchGlobal($method, $index = null, $filter = null, $flags = nul } } - if (empty($value)) + if (!isset($value)) { $value = $this->globals[$method][$index] ?? null; }