From: Josef Moravec Date: Fri, 16 Feb 2018 09:01:26 +0000 (+0000) Subject: Bug 18789: (QA follow-up) Fix loading saved address data to edit patron form X-Git-Tag: v18.05.00-rc1~832 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=9c8b420dd72cb58fbdf1eada88a6ee6127f6068b;p=koha_ffzg 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 Signed-off-by: Jonathan Druart --- diff --git a/members/memberentry.pl b/members/memberentry.pl index 228bc5ed0f..35c6ff043a 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,