[Koha-bugs] [Bug 18647] Internal server error on moremember.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 22 15:15:46 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18647

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle at bywatersolutions.com,
                   |                            |m.de.rooy at rijksmuseum.nl

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I'd say the patch should be:

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,


The borrower variable should not be a Koha::Patron, because the include file
expects an hashref.

Marcel, do you know why you add the TODO comment? I do not find where it is
used.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list