Fixed mismatched field/fieldset

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-02-07 13:31:50 -08:00
parent b0f4015bb4
commit c1d484b5df

View file

@ -169,7 +169,7 @@ class CustomFieldsetsController extends Controller
*/
public function destroy($id)
{
$fieldset = CustomField::find($id);
$fieldset = CustomFieldset::find($id);
$this->authorize('delete', $fieldset);