From 9f4c2306ebc42e107603f6f8bf393a20d1013458 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 24 Jun 2019 10:37:54 -0500 Subject: [PATCH] Bug 23158: Make the assignment statement more readable Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- circ/circulation.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 8fcb9bbdee..43ce1aa41b 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -330,8 +330,10 @@ if (@$barcodes) { my $checkout_infos; for my $barcode ( @$barcodes ) { - my $template_params = { barcode => $barcode }; - $template_params->{onsite_checkout} = $onsite_checkout; + my $template_params = { + barcode => $barcode, + onsite_checkout => $onsite_checkout, + }; # always check for blockers on issuing my ( $error, $question, $alerts, $messages ) = CanBookBeIssued( -- 2.39.5