Skip to content

A free open source IT asset/license management system

fix field alignment issue

Godfrey M149d276e06be
diff --git a/app/View/Label.php b/app/View/Label.php
index 6dbad39a34..11bb24aab3 100644
--- a/app/View/Label.php
+++ b/app/View/Label.php
@@ -177,14 +177,10 @@ class Label implements View
// The end result of this will be in this format:
// {labelOne} {valueOne} | {labelTwo} {valueTwo} | {labelThree} {valueThree}
$previous['value'] = trim(implode(' | ', [
- implode(' ', [$previous['label'], $previous['value']]),
+ implode(' ', [null, $previous['value']]),
implode(' ', [$current['label'], $current['value']]),
]));
- // We'll set the label to an empty string since we
- // injected the label into the value field above.
- $previous['label'] = '';
-
return $previous;
});