From b6c7d9d2a4b59b1e51b6c9932744a012e46765c3 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 Content-Type: text/plain; charset=utf-8 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 --- members/moremember.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/members/moremember.pl b/members/moremember.pl index 0e18d22..0649dcf 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.1.4