mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed #5084 - min supplier name now 1
This commit is contained in:
parent
236e773438
commit
e49a36c9fd
|
@ -14,7 +14,7 @@ class Supplier extends SnipeModel
|
|||
protected $table = 'suppliers';
|
||||
|
||||
protected $rules = array(
|
||||
'name' => 'required|min:3|max:255|unique_undeleted',
|
||||
'name' => 'required|min:1|max:255|unique_undeleted',
|
||||
'address' => 'max:50|nullable',
|
||||
'address2' => 'max:50|nullable',
|
||||
'city' => 'max:255|nullable',
|
||||
|
|
Loading…
Reference in a new issue