mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -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)
|
public function show(string $labelName)
|
||||||
{
|
{
|
||||||
$setting = Setting::getSettings();
|
$setting = Setting::getSettings();
|
||||||
|
|
||||||
//grabs the field selection selected and turns it into a multidimensional array
|
//grabs the field selection selected and turns it into a multidimensional array
|
||||||
$data = explode(';', Setting::getSettings()->label2_fields);
|
$data = explode(';', Setting::getSettings()->label2_fields);
|
||||||
$data = array_map(function($element) {
|
$data = array_map(function($element) {
|
||||||
|
@ -80,8 +81,6 @@ class LabelsController extends Controller
|
||||||
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
|
$exampleAsset->model->category->name = trans('admin/labels/table.example_category');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach($field_selections as $key => $value) {
|
foreach($field_selections as $key => $value) {
|
||||||
$exampleAsset->{$value} = "{{$key}}";
|
$exampleAsset->{$value} = "{{$key}}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue