Missing return statement (#1673)
Otherwise this errors out with $host not being found
This commit is contained in:
parent
1769d191d2
commit
37631a1d49
|
@ -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())
|
sprintf('There was an error while trying to connect to the host or while executing a query: "%s"', $exception->getMessage())
|
||||||
)->flash();
|
)->flash();
|
||||||
|
|
||||||
redirect()->route('admin.databases')->withInput($request->validated());
|
return redirect()->route('admin.databases')->withInput($request->validated());
|
||||||
} else {
|
} else {
|
||||||
throw $exception;
|
throw $exception;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue