Fix empty inventory module showing hash

This commit is contained in:
Calvo 2023-04-03 17:09:54 +02:00
parent 764823c93f
commit 9e20ce3ec7

View File

@ -7269,8 +7269,11 @@ sub process_inventory_data ($$$$$$$) {
# Empty list
next unless defined ($list->{'data'});
foreach my $data (@{$list->{'data'}}) {
#Empty data.
next if (ref($data) eq 'HASH');
$data_list .= $data . "\n";
}
}