变更
This commit is contained in:
@@ -63,7 +63,7 @@ class Validator
|
||||
$data = $request->getQueryParams();
|
||||
}
|
||||
foreach ($data as $key => $value) {
|
||||
if (method_exists($this->formData, $key)) {
|
||||
if (property_exists($this->formData, $key)) {
|
||||
$this->formData->{$key} = $value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user