Fix method

This commit is contained in:
James Cole
2022-10-01 07:20:26 +02:00
parent 93c83fbe7a
commit 5c471059f3

View File

@@ -45,7 +45,7 @@ class AutocompleteRequest extends FormRequest
if ('' !== $types) {
$array = explode(',', $types);
}
$limit = $this->integer('limit');
$limit = $this->convertInteger('limit');
$limit = 0 === $limit ? 10 : $limit;
// remove 'initial balance' from allowed types. its internal