From afc8133acf3fe706a3378426bb75bbdfda83664d Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 1 Oct 2017 14:40:13 -0700 Subject: [PATCH] =?UTF-8?q?URL=20nullable=20validation=20isn=E2=80=99t=20w?= =?UTF-8?q?orking=20in=20Laravel=205.4=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Supplier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Supplier.php b/app/Models/Supplier.php index eb61e8f28..c4e1d926b 100755 --- a/app/Models/Supplier.php +++ b/app/Models/Supplier.php @@ -26,7 +26,7 @@ class Supplier extends SnipeModel 'notes' => 'max:255|nullable', 'email' => 'email|max:150|nullable', 'zip' => 'max:10|nullable', - 'url' => 'url|nullable', + 'url' => 'sometimes|nullable|string|max:250', ); /**