Fixed #12946 - warranty lookup url was not nullable
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
8b476e55b6
commit
aa814cf761
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Manufacturer extends SnipeModel
|
||||||
'url' => 'url|nullable',
|
'url' => 'url|nullable',
|
||||||
'support_email' => 'email|nullable',
|
'support_email' => 'email|nullable',
|
||||||
'support_url' => 'nullable|url',
|
'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'];
|
protected $hidden = ['user_id'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue