Fixed #12946 - warranty lookup url was not nullable

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-29 13:47:52 -07:00
parent 8b476e55b6
commit aa814cf761

View file

@ -25,7 +25,7 @@ class Manufacturer extends SnipeModel
'url' => 'url|nullable',
'support_email' => 'email|nullable',
'support_url' => 'nullable|url',
'warranty_lookup_url' => 'starts_with:http://,https://,afp://,facetime://,file://,irc://','nullable'
'warranty_lookup_url' => 'nullable|starts_with:http://,https://,afp://,facetime://,file://,irc://'
];
protected $hidden = ['user_id'];