Missing return statement (#1673)

Otherwise this errors out with $host not being found
This commit is contained in:
Lance Pioch 2019-08-10 16:19:52 -04:00 committed by Dane Everitt
parent 1769d191d2
commit 37631a1d49

View file

@ -131,7 +131,7 @@ class DatabaseController extends Controller
sprintf('There was an error while trying to connect to the host or while executing a query: "%s"', $exception->getMessage())
)->flash();
redirect()->route('admin.databases')->withInput($request->validated());
return redirect()->route('admin.databases')->withInput($request->validated());
} else {
throw $exception;
}