1
0
Fork 0
mirror of https://github.com/snipe/snipe-it.git synced 2025-03-05 20:52:15 -08:00

Fixed - make city min length 2 instead of 3

This commit is contained in:
snipe 2018-03-29 04:36:18 -07:00
parent 9f414baa99
commit a510ac4052

View file

@ -20,7 +20,7 @@ class Location extends SnipeModel
protected $table = 'locations';
protected $rules = array(
'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',
'address' => 'max:80|nullable',
'address2' => 'max:80|nullable',