From 2a91a3e3bd4860a2baeb9f574790bd3cd9fa2851 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 14 Nov 2025 13:53:15 +0100 Subject: [PATCH] Bug 40777: Flatten arrays Signed-off-by: David Nind --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index ed43fde9d7..d6ff622031 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -543,7 +543,7 @@ if ( $query->param('audit') ) { my $audit_errors = Koha::Database::DataInconsistency->for_biblio($biblio); $template->param( auditing => 1, - audit_errors => [ map { scalar @{ $audit_errors->{$_} } ? $audit_errors->{$_} : () } keys %$audit_errors ], + audit_errors => [ map { scalar @{ $audit_errors->{$_} } ? @{ $audit_errors->{$_} } : () } keys %$audit_errors ], ); } -- 2.39.5