From f4be3db74e47a7c0260d89dc097dcb1089830015 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 Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 675ffb1b694339fedbe36f13b82b4fc1a8c8772d) Signed-off-by: Fridolin Somers --- 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.39.5