Missing return statement (#1673)
Otherwise this errors out with $host not being found
This commit is contained in:
parent
1769d191d2
commit
37631a1d49
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue