only grabs custom Fields that are not encrpyted

This commit is contained in:
Godfrey M 2024-04-03 11:03:58 -07:00
parent 4327653d70
commit bb2c73348d

View file

@ -67,7 +67,7 @@ class LabelsController extends Controller
$exampleAsset->model->category->id = 999999;
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
$customFieldColumns = CustomField::all()->pluck('db_column');
$customFieldColumns = CustomField::where('field_encrypted', '=', 0)->pluck('db_column');
collect(explode(';', Setting::getSettings()->label2_fields))
->filter()