diff --git a/app/vendor/Eco/System/Request.php b/app/vendor/Eco/System/Request.php index 74e45f2..500af3f 100644 --- a/app/vendor/Eco/System/Request.php +++ b/app/vendor/Eco/System/Request.php @@ -70,7 +70,7 @@ public function getHas($key) public function header($name, $auto_trim = true) { return isset($this->headers()[$name]) - ? ( $auto_trim ? trim($this->headers()[$name]) : $this->headers()[$name] ) : null; + ? ( $auto_trim ? trim($this->headers()[$name]) : $this->headers()[$name] ) : ''; } /**