Skip to content

A free open source IT asset/license management system

Fixed #12946 - warranty lookup url was not nullable

snipeaa814cf76163
diff --git a/app/Models/Manufacturer.php b/app/Models/Manufacturer.php
index eb91b3b8f2..da4f26b02f 100755
--- a/app/Models/Manufacturer.php
+++ b/app/Models/Manufacturer.php
@@ -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'];