mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
revert changes to label view
This commit is contained in:
parent
20fa4c39f9
commit
7c8955b126
|
@ -158,8 +158,8 @@ 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'], str_replace(['{', '}'], '', $previous['value'])]),
|
||||
implode(' ', [$current['label'], str_replace(['{', '}'], '', $current['value'])]),
|
||||
implode(' ', [$previous['label'], $previous['value']]),
|
||||
implode(' ', [$current['label'], $current['value']]),
|
||||
]));
|
||||
|
||||
// We'll set the label to an empty string since we
|
||||
|
|
Loading…
Reference in a new issue