From e253e761ad50843d0e9ffed71f7f954f6d1486ac 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 --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index ed43fde9d79..d6ff6220315 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.34.1