mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#13380 fixed error 500
This commit is contained in:
parent
14f2e10fee
commit
bde32eb8f8
@ -2644,7 +2644,7 @@ function reporting_html_inventory($table, $item, $pdf=0)
|
||||
} else {
|
||||
// Grouped type inventory.
|
||||
$type_modules = array_reduce(
|
||||
$item['data'],
|
||||
($item['data'] ?? []),
|
||||
function ($carry, $it) {
|
||||
$carry[$it['name']][] = $it;
|
||||
return $carry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user