fix from previous commit
This commit is contained in:
parent
35c36ebd21
commit
7ec388983c
|
@ -1147,13 +1147,11 @@ sub apply_perfdata_extend {
|
|||
if ($extend->{type} == 1) {
|
||||
$self->{perfdatas}->[$i] = $new_perf;
|
||||
} else {
|
||||
push @$new_pfdata, $new_perf;
|
||||
push @$new_pfdata, $new_perf if (length($new_perf->{value}));
|
||||
}
|
||||
}
|
||||
|
||||
if (length($new_pfdata->{value})) {
|
||||
push @{$self->{perfdatas}}, @$new_pfdata;
|
||||
}
|
||||
push @{$self->{perfdatas}}, @$new_pfdata;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue