mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed #5272 - make city min length 2 instead of 3
This commit is contained in:
parent
9f414baa99
commit
a510ac4052
|
@ -20,7 +20,7 @@ class Location extends SnipeModel
|
||||||
protected $table = 'locations';
|
protected $table = 'locations';
|
||||||
protected $rules = array(
|
protected $rules = array(
|
||||||
'name' => 'required|min:2|max:255|unique_undeleted',
|
'name' => 'required|min:2|max:255|unique_undeleted',
|
||||||
'city' => 'min:3|max:255|nullable',
|
'city' => 'min:2|max:255|nullable',
|
||||||
'country' => 'min:2|max:2|nullable',
|
'country' => 'min:2|max:2|nullable',
|
||||||
'address' => 'max:80|nullable',
|
'address' => 'max:80|nullable',
|
||||||
'address2' => 'max:80|nullable',
|
'address2' => 'max:80|nullable',
|
||||||
|
|
Loading…
Reference in a new issue