From 12cdce022917741e5fdb77adb50a1746a6943b40 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 29 Feb 2024 10:35:23 +0000 Subject: [PATCH] Bug 36118: Tidy changed code block Simple tidy of the codeblock we added a line to so we get through the tidy requirements of the QA script. --- Koha/Illrequest/Logger.pm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Koha/Illrequest/Logger.pm b/Koha/Illrequest/Logger.pm index 2e8f3b14fdc..c6c0ad74e35 100644 --- a/Koha/Illrequest/Logger.pm +++ b/Koha/Illrequest/Logger.pm @@ -258,16 +258,18 @@ sub get_request_logs { foreach my $alias(@{$aliases}) { $alias_hash->{$alias->{authorised_value}} = $alias; } - foreach my $log(@{$logs}) { - $log->{patron} = Koha::Patrons->find( $log->{user} ); + foreach my $log ( @{$logs} ) { + $log->{patron} = Koha::Patrons->find( $log->{user} ); $log->{notice_types} = $notice_hash; - $log->{aliases} = $alias_hash; - $log->{info} = from_json($log->{info}); - $log->{template} = $self->get_log_template({ - request => $request, - origin => $log->{info}->{log_origin}, - action => $log->{action} - }); + $log->{aliases} = $alias_hash; + $log->{info} = from_json( $log->{info} ); + $log->{template} = $self->get_log_template( + { + request => $request, + origin => $log->{info}->{log_origin}, + action => $log->{action} + } + ); } return $logs; -- 2.30.2