From 708d69c2e2e6e19cb207a047f0fc2140303a9ede Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 14 Feb 2024 12:29:01 +0000 Subject: [PATCH] Bug 36093: Fix missing array reference This patch adds an array reference where it was previously missed. Test plan: Review patch diff and observe that the array reference is now correctly added Signed-off-by: Jonathan Field --- Koha/REST/V1/ERM/EUsage/CustomReports.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/REST/V1/ERM/EUsage/CustomReports.pm b/Koha/REST/V1/ERM/EUsage/CustomReports.pm index 4647a1ce0a..9835ac1f4e 100644 --- a/Koha/REST/V1/ERM/EUsage/CustomReports.pm +++ b/Koha/REST/V1/ERM/EUsage/CustomReports.pm @@ -299,7 +299,7 @@ sub provider_rollup_report { map { $_->{usage_total} } @filtered_object_data; my $provider_rollup_total = scalar(@data_object_usage_totals) > 0 - ? _get_usage_total(@data_object_usage_totals) + ? _get_usage_total(\@data_object_usage_totals) : 0; my %usage_data_provider_hash = ( -- 2.30.2