fix syntax error in CustomFieldsetsController::show() (#7595)

That someone was probably me :D Thanks for this, good catch!
This commit is contained in:
Lorenzo P 2019-12-06 19:31:00 +01:00 committed by snipe
parent 9a2378586c
commit 7225b53986

View file

@ -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'));