A free open source IT asset/license management system
Cleanup
snipea289dfaf8804
diff --git a/app/Models/Labels/DefaultLabel.php b/app/Models/Labels/DefaultLabel.phpindex 1377e93beb..9f7059bcd5 100644--- a/app/Models/Labels/DefaultLabel.php+++ b/app/Models/Labels/DefaultLabel.php@@ -166,17 +166,9 @@ class DefaultLabel extends RectangleSheetforeach ($record->get('fields') as $field) {- $field_label = $field['label'];-- // If the label field in the visible fields on the asset label is NOT blank,- // set the label to that value.- if ($field_label!='') {- $field_label = $field_label.': ';- }-// Actually write the selected fields and their matching valuesstatic::writeText(- $pdf, $field_label . $field['value'],+ $pdf, (($field['label']) ? $field['label'].' ' : '') . $field['value'],$textX1, $textY,'freesans', '', $this->textSize, 'L',$textW, $this->textSize,