mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
Fixed #8737 - incorrect validation string for components update
This commit is contained in:
parent
0c0de5e351
commit
e9578ba8a1
|
@ -124,7 +124,7 @@ class ComponentsController extends Controller
|
|||
}
|
||||
$min = $component->numCHeckedOut();
|
||||
$validator = Validator::make($request->all(), [
|
||||
"qty" => "required|numeric|gt:$min"
|
||||
"qty" => "required|numeric|min:$min"
|
||||
]);
|
||||
|
||||
if ($validator->fails()) {
|
||||
|
|
Loading…
Reference in a new issue