mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Fix empty inventory module showing hash
This commit is contained in:
parent
764823c93f
commit
9e20ce3ec7
@ -7271,6 +7271,9 @@ sub process_inventory_data ($$$$$$$) {
|
|||||||
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