From 42a77ca3397e656f5890a94194474cfcd49d31a5 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 16 Feb 2018 09:01:26 +0000 Subject: [PATCH] Bug 18789: (QA follow-up) Fix loading saved address data to edit patron form Test plan: 1) Have patron with address filled in 2) Edit the patron -- without this patch the fields for address are blank -- with patch the fields are filled with actual data Signed-off-by: Josef Moravec --- members/memberentry.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/members/memberentry.pl b/members/memberentry.pl index 228bc5e..35c6ff0 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -760,6 +760,7 @@ $template->param( $guarantorid = $borrower_data->{'guarantorid'} || $guarantorid; my $guarantor = $guarantorid ? Koha::Patrons->find( $guarantorid ) : undef; $template->param( + patron => $patron, # Used by address include templates now nodouble => $nodouble, borrowernumber => $borrowernumber, #register number guarantor => $guarantor, -- 2.1.4