mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +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 {
|
} else {
|
||||||
// Grouped type inventory.
|
// Grouped type inventory.
|
||||||
$type_modules = array_reduce(
|
$type_modules = array_reduce(
|
||||||
$item['data'],
|
($item['data'] ?? []),
|
||||||
function ($carry, $it) {
|
function ($carry, $it) {
|
||||||
$carry[$it['name']][] = $it;
|
$carry[$it['name']][] = $it;
|
||||||
return $carry;
|
return $carry;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user