From baa66ebdef5c6ad1c6b7d759f09083df6a869b79 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. Signed-off-by: Victor Grousset/tuxayo --- 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 2e8f3b14fd..c6c0ad74e3 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.44.0