mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
fix syntax error in CustomFieldsetsController::show() (#7595)
That someone was probably me :D Thanks for this, good catch!
This commit is contained in:
parent
9a2378586c
commit
7225b53986
|
@ -56,12 +56,6 @@ class CustomFieldsetsController extends Controller
|
|||
return view("custom_fields.fieldsets.view")->with("custom_fieldset", $cfset)->with("maxid", $maxid+1)->with("custom_fields_list", $custom_fields_list);
|
||||
}
|
||||
|
||||
return view("custom_fields.fieldsets.view")
|
||||
->with("custom_fieldset", $cfset)
|
||||
->with("maxid", $maxid+1)
|
||||
->with("custom_fields_list", $custom_fields_list);
|
||||
}
|
||||
|
||||
return redirect()->route("fields.index")
|
||||
->with("error", trans('admin/custom_fields/message.fieldset.does_not_exist'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue