#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…
Reference in New Issue