mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
removes spacing
This commit is contained in:
parent
83474d6e59
commit
dc77c01fd3
|
@ -27,6 +27,7 @@ class LabelsController extends Controller
|
|||
public function show(string $labelName)
|
||||
{
|
||||
$setting = Setting::getSettings();
|
||||
|
||||
//grabs the field selection selected and turns it into a multidimensional array
|
||||
$data = explode(';', Setting::getSettings()->label2_fields);
|
||||
$data = array_map(function($element) {
|
||||
|
@ -80,8 +81,6 @@ class LabelsController extends Controller
|
|||
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
|
||||
}
|
||||
|
||||
|
||||
|
||||
foreach($field_selections as $key => $value) {
|
||||
$exampleAsset->{$value} = "{{$key}}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue