mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
#13376 fixed report
This commit is contained in:
parent
ad78d1632e
commit
1ef2c5a1e9
@ -3352,8 +3352,8 @@ function reporting_inventory($report, $content, $type)
|
||||
$date,
|
||||
'',
|
||||
false,
|
||||
'csv',
|
||||
false,
|
||||
'csv',
|
||||
'',
|
||||
[],
|
||||
$inventory_regular_expression
|
||||
@ -3367,12 +3367,13 @@ function reporting_inventory($report, $content, $type)
|
||||
$date,
|
||||
'',
|
||||
false,
|
||||
'hash',
|
||||
false,
|
||||
'hash',
|
||||
'',
|
||||
[],
|
||||
$inventory_regular_expression
|
||||
);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -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