From 5227655111af79c845e7bc41a85504dd36a71ac4 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 26 Jan 2024 07:04:14 -0500 Subject: [PATCH] Bug 26597: (QA follow-up) Tidy code Signed-off-by: Kyle M Hall --- members/memberentry.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 62abd3a03cf..b79b0e2c37b 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -623,12 +623,12 @@ if (C4::Context->preference("IndependentBranches")) { } # Define the fields to be pre-filled in guarantee records -my $prefillguarantorfields=C4::Context->preference("PrefillGuaranteeField"); -my @prefill_fields=split(/\,/,$prefillguarantorfields); +my $prefillguarantorfields = C4::Context->preference("PrefillGuaranteeField"); +my @prefill_fields = split( /\,/, $prefillguarantorfields ); $template->param( prefill_fields => \@prefill_fields, to_api_mapping => Koha::Patron->new->to_api_mapping - ); +); if ($op eq 'add'){ if ($guarantor_id) { -- 2.30.2