add encoding for extra values

This commit is contained in:
garnier-quentin 2021-01-20 14:22:07 +01:00
parent 97d5ecf799
commit bc9cba7ec5
1 changed files with 7 additions and 7 deletions

View File

@ -300,7 +300,7 @@ sub get_extra_values_by_instance {
foreach (keys %{$self->{results}->{ $self->{extra_oids}->{$name}->{oid} }}) {
if (/^$self->{extra_oids}->{$name}->{oid}\.$matching/) {
$extra_values->{$name} = '' if (!defined($extra_values->{$name}));
$extra_values->{$name} .= $append . $self->{results}->{$self->{extra_oids}->{$name}->{oid}}->{$_};
$extra_values->{$name} .= $append . $self->{output}->to_utf8($self->{results}->{ $self->{extra_oids}->{$name}->{oid} }->{$_});
$append = ',';
}
}