mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-25 23:05:30 +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
|
# Empty list
|
||||||
next unless defined ($list->{'data'});
|
next unless defined ($list->{'data'});
|
||||||
|
|
||||||
foreach my $data (@{$list->{'data'}}) {
|
foreach my $data (@{$list->{'data'}}) {
|
||||||
|
#Empty data.
|
||||||
|
next if (ref($data) eq 'HASH');
|
||||||
|
|
||||||
$data_list .= $data . "\n";
|
$data_list .= $data . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user