mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
added filter to collectifunction
This commit is contained in:
parent
bee016e0be
commit
14c86d447b
|
@ -69,6 +69,7 @@ class LabelsController extends Controller
|
|||
$customFieldColumns = CustomField::all()->pluck('db_column');
|
||||
|
||||
collect(explode(';', Setting::getSettings()->label2_fields))
|
||||
->filter()
|
||||
->each(function ($item) use ($customFieldColumns, $exampleAsset) {
|
||||
$pair = explode('=', $item);
|
||||
|
||||
|
|
Loading…
Reference in a new issue