change behaviour of HTTP/Request get

main
msquare 7 years ago
parent 15c50ab315
commit 0ee7df4883

@ -38,9 +38,9 @@ class Request extends SymfonyRequest
*/
public function has($key)
{
$value = $this->input($key, null);
$value = $this->input($key);
return !($value === null);
return !is_null($value);
}
/**

Loading…
Cancel
Save