diff --git a/app/Http/Controllers/ManufacturersController.php b/app/Http/Controllers/ManufacturersController.php index 2eaabc707f..e849d70a14 100755 --- a/app/Http/Controllers/ManufacturersController.php +++ b/app/Http/Controllers/ManufacturersController.php @@ -3,7 +3,6 @@ namespace App\Http\Controllers; use App\Http\Requests\ImageUploadRequest; -use App\Http\Requests\SaveManufacturerRequest; use App\Models\Manufacturer; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; diff --git a/app/Models/Manufacturer.php b/app/Models/Manufacturer.php index 6acbffe7cd..099a978778 100755 --- a/app/Models/Manufacturer.php +++ b/app/Models/Manufacturer.php @@ -24,7 +24,7 @@ class Manufacturer extends SnipeModel 'name' => 'required|min:2|max:255|unique:manufacturers,name,NULL,id,deleted_at,NULL', 'url' => 'url|nullable', 'support_email' => 'email|nullable', - 'support_url' => ['starts_with:http://,https://,afp://,facetime://,file://,irc://','nullable'], + 'support_url' => 'starts_with:http://,https://,afp://,facetime://,file://,irc://','nullable', ]; protected $hidden = ['user_id'];