Skip to content

Commit

Permalink
Merge pull request #12474 from snipe/fixes/destroy_method_for_fieldsets
Browse files Browse the repository at this point in the history
Fixed mismatched field/fieldset
  • Loading branch information
snipe committed Feb 7, 2023
2 parents b0f4015 + c1d484b commit 4b2d35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CustomFieldsetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function update(Request $request, $id)
*/
public function destroy($id)
{
$fieldset = CustomField::find($id);
$fieldset = CustomFieldset::find($id);

$this->authorize('delete', $fieldset);

Expand Down

0 comments on commit 4b2d35e

Please sign in to comment.