From 5bd3f11f3add59e00a5f28161f3013202f4e90f6 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 --- 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.11.0