From e89a0bd206992cb86b3f703a560c57ad449c36cd Mon Sep 17 00:00:00 2001 From: HieuPT7 <8587251+HieuPT7@users.noreply.github.com> Date: Thu, 14 Feb 2019 22:22:50 +0700 Subject: [PATCH] Update Request.php --- system/HTTP/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }