mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-24 22:35:58 +02:00
Fix empty inventory module showing hash
This commit is contained in:
parent
764823c93f
commit
9e20ce3ec7
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user