From 13c0e33490ae848bd668308aed24e26f6c75835f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Miko=C5=82ajczak?= Date: Fri, 1 Jun 2018 21:13:29 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9CCan't=20update=20account=20setti?= =?UTF-8?q?ngs=20without=20setting=20a=20bio=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Mikołajczak --- app/Http/Controllers/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index b1a17700b..4beb45418 100644 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -22,7 +22,7 @@ class SettingsController extends Controller { $this->validate($request, [ 'name' => 'required|string|max:30', - 'bio' => 'string|max:125' + 'bio' => 'nullable|string|max:125' ]); $changes = false;