From 87bb59304e53755d7b4565c517578a838e1f0041 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 23 May 2017 14:31:01 +0200 Subject: [PATCH] Bug 18647: Resolve internal server error on category_type See bug 18552. When we resolved the housebound_role bug, the hash got filled correctly again. And this revealed that the (second) call to Koha::Patrons->find was not appropriate. It can be removed, as Jonathan explained on the report. Note: Commit 95429af6855e8ed37945b681dc466bf360deffb added this call, but it was hidden until the template variable hash got fixed. Test plan: Restart Plack and go to patron details again. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- members/moremember.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index 0e18d2234f..0649dcfd76 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -343,7 +343,6 @@ my $translated_language = C4::Languages::language_get_description( $subtag, $sub $template->param( patron => $patron, - borrower => $patron, # TODO Still needed by includes, translated_language => $translated_language, detailview => 1, borrowernumber => $borrowernumber, -- 2.39.5