mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
removed dead space
This commit is contained in:
parent
92776adb93
commit
c69958d95d
|
@ -30,7 +30,6 @@ class ComponentCheckinController extends Controller
|
||||||
|
|
||||||
// This could probably be done more cleanly but I am very tired. - @snipe
|
// This could probably be done more cleanly but I am very tired. - @snipe
|
||||||
if ($component_assets = DB::table('components_assets')->find($component_asset_id)) {
|
if ($component_assets = DB::table('components_assets')->find($component_asset_id)) {
|
||||||
|
|
||||||
if (is_null($component = Component::find($component_assets->component_id))) {
|
if (is_null($component = Component::find($component_assets->component_id))) {
|
||||||
return redirect()->route('components.index')->with('error', trans('admin/components/messages.not_found'));
|
return redirect()->route('components.index')->with('error', trans('admin/components/messages.not_found'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue