disabled sqli middleware

This commit is contained in:
Denis Duliçi
2021-07-18 17:12:37 +03:00
parent ca98e2c0c5
commit c2fd5c3eaa
6 changed files with 13 additions and 7 deletions

View File

@ -41,7 +41,7 @@ class Document extends FormRequest
}
// Get company id
$company_id = $this->request->get('company_id');
$company_id = (int) $this->request->get('company_id');
return [
'type' => 'required|string',