From c1d484b5df0b08598ffd50b4fe94f81a269471cb Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 7 Feb 2023 13:31:50 -0800 Subject: [PATCH] Fixed mismatched field/fieldset Signed-off-by: snipe --- app/Http/Controllers/CustomFieldsetsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/CustomFieldsetsController.php b/app/Http/Controllers/CustomFieldsetsController.php index 8128b3369f..8c14502285 100644 --- a/app/Http/Controllers/CustomFieldsetsController.php +++ b/app/Http/Controllers/CustomFieldsetsController.php @@ -169,7 +169,7 @@ class CustomFieldsetsController extends Controller */ public function destroy($id) { - $fieldset = CustomField::find($id); + $fieldset = CustomFieldset::find($id); $this->authorize('delete', $fieldset);