diff --git a/src/app/model/request.php b/src/app/model/request.php index cf09450..e6697fa 100644 --- a/src/app/model/request.php +++ b/src/app/model/request.php @@ -94,11 +94,11 @@ class AppModelRequest { public function hasGet() : bool { - return !empty($this->_post); + return !empty($this->_get); } public function hasFiles() : bool { - return !empty($this->_post); + return !empty($this->_files); } }